Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.466/1.466, allocations: 249.5 MB / 257 MB, free: 6.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 183.8 kB / 316.3 MB, free: 3.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007796/0.0007799, allocations: 99.11 kB / 0.6714 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.086e-05/2.089e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2158, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7106/0.9264, allocations: 133.9 MB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.9267, allocations: 86 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.008582/0.9353, allocations: 2.966 MB / 1.019 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9353, allocations: 0 / 1.019 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.9353, allocations: 4 kB / 1.019 GB, free: 1.395 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000527/0.9358, allocations: 403.8 kB / 1.019 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.9359, allocations: 11.97 kB / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.9359, allocations: 11.91 kB / 1.019 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.9361, allocations: 174.9 kB / 1.02 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.783e-05/0.9362, allocations: 11.86 kB / 1.02 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.9362, allocations: 4 kB / 1.02 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.899e-05/0.9363, allocations: 23.55 kB / 1.02 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.9364, allocations: 57.3 kB / 1.02 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.9364, allocations: 0 / 1.02 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.9364, allocations: 0 / 1.02 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.9365, allocations: 4 kB / 1.02 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006172/0.9371, allocations: 288.4 kB / 1.02 GB, free: 340 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.656e-05/0.9372, allocations: 37.89 kB / 1.02 GB, free: 304 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.291e-05/0.9372, allocations: 24.48 kB / 1.02 GB, free: 284 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.9372, allocations: 0 / 1.02 GB, free: 284 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000122/0.9374, allocations: 70.83 kB / 1.02 GB, free: 208 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.9374, allocations: 0 / 1.02 GB, free: 208 kB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002908/0.9377, allocations: 96.95 kB / 1.02 GB, free: 120 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.9377, allocations: 59.34 kB / 1.02 GB, free: 52 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.9378, allocations: 108.9 kB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.9379, allocations: 29.64 kB / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.18e-05/0.938, allocations: 88.19 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.938, allocations: 15.75 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.938, allocations: 4 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.9381, allocations: 326.6 kB / 1.021 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.497e-05/0.9382, allocations: 15.56 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.488e-05/0.9382, allocations: 37.89 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.187e-05/0.9383, allocations: 27.3 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9383, allocations: 0 / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001494/0.9385, allocations: 93.83 kB / 1.021 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.9385, allocations: 8 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.9385, allocations: 0 / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.9385, allocations: 0 / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.919e-05/0.9386, allocations: 19.92 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.9387, allocations: 0 / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.4e-05/0.9387, allocations: 7.906 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.9388, allocations: 4 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.842e-05/0.9389, allocations: 119.5 kB / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.9389, allocations: 0 / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/0.9389, allocations: 16.48 kB / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.9389, allocations: 0 / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.9389, allocations: 0 / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.9389, allocations: 0 / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000336/0.9393, allocations: 341.7 kB / 1.021 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.9393, allocations: 4 kB / 1.021 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.618e-05/0.9394, allocations: 11.98 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.9394, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.9394, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.9394, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.9394, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.9396, allocations: 202.8 kB / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.9397, allocations: 85.02 kB / 1.022 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.9397, allocations: 0 / 1.022 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.211e-05/0.9398, allocations: 8 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.9398, allocations: 7.984 kB / 1.022 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.9399, allocations: 0 / 1.022 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.602e-05/0.9399, allocations: 91.08 kB / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.968e-06/0.9399, allocations: 0 / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002836/0.9402, allocations: 51.75 kB / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004216/0.9406, allocations: 165.9 kB / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001413/0.9408, allocations: 55.11 kB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.9408, allocations: 0 / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.07e-05/0.9409, allocations: 23.88 kB / 1.022 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.941, allocations: 15.81 kB / 1.022 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003078/0.9414, allocations: 107.2 kB / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.9416, allocations: 0.6885 MB / 1.023 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.288e-05/0.9417, allocations: 4.188 kB / 1.023 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.9417, allocations: 11.44 kB / 1.023 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/0.9417, allocations: 0 / 1.023 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of Templates: time 0.004094/0.9458, allocations: 1.498 MB / 1.024 GB, free: 11.79 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.freqHz,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0