Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.578/2.578, allocations: 393.5 MB / 408.4 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001893/0.001892, allocations: 187.6 kB / 0.4902 GB, free: 2.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 223.1 MB / 0.7992 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009888/0.000989, allocations: 108.4 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000441/0.0004409, allocations: 8.094 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3419, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2088/0.5508, allocations: 152.3 MB / 1.378 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/0.5511, allocations: 83.94 kB / 1.378 GB, free: 1.18 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.0108/0.5619, allocations: 3.296 MB / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.787e-06/0.562, allocations: 0 / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.562, allocations: 4 kB / 1.381 GB, free: 13.87 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006737/0.5627, allocations: 458.4 kB / 1.382 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.5627, allocations: 8.562 kB / 1.382 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.454e-05/0.5628, allocations: 11.86 kB / 1.382 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.563, allocations: 175 kB / 1.382 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/0.563, allocations: 4 kB / 1.382 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.563, allocations: 8 kB / 1.382 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.5633, allocations: 89.56 kB / 1.382 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.5633, allocations: 0 / 1.382 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.5634, allocations: 4 kB / 1.382 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.5634, allocations: 3.938 kB / 1.382 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.5636, allocations: 55.95 kB / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008994/0.5645, allocations: 352.7 kB / 1.382 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.5647, allocations: 66.58 kB / 1.382 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.5647, allocations: 0 / 1.382 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002491/0.565, allocations: 99.36 kB / 1.383 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 1.834e-06/0.565, allocations: 0 / 1.383 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0006039/0.5656, allocations: 205.5 kB / 1.383 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.5657, allocations: 55.41 kB / 1.383 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.911e-05/0.5658, allocations: 116.2 kB / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.5658, allocations: 29.69 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.5659, allocations: 96.08 kB / 1.383 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.5659, allocations: 19.75 kB / 1.383 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/0.5659, allocations: 0 / 1.383 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.566, allocations: 322.8 kB / 1.383 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.219e-05/0.5661, allocations: 31.98 kB / 1.383 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.5663, allocations: 68.27 kB / 1.383 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.5664, allocations: 35.98 kB / 1.383 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5664, allocations: 4 kB / 1.383 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002851/0.5667, allocations: 133.4 kB / 1.384 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.5667, allocations: 7.984 kB / 1.384 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.5667, allocations: 0 / 1.384 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.5667, allocations: 4 kB / 1.384 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.5669, allocations: 24.02 kB / 1.384 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.5669, allocations: 3.953 kB / 1.384 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.889e-05/0.567, allocations: 15.91 kB / 1.384 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.567, allocations: 4 kB / 1.384 GB, free: 11.17 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.0001174/0.5671, allocations: 115 kB / 1.384 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.5672, allocations: 15.89 kB / 1.384 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.5672, allocations: 8.375 kB / 1.384 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.5672, allocations: 4 kB / 1.384 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5672, allocations: 0 / 1.384 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.5672, allocations: 3.953 kB / 1.384 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006234/0.5679, allocations: 434.7 kB / 1.384 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.5679, allocations: 4 kB / 1.384 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.36e-05/0.5679, allocations: 8 kB / 1.384 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.5679, allocations: 3.984 kB / 1.384 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.568, allocations: 11.97 kB / 1.384 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.568, allocations: 3.953 kB / 1.384 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.568, allocations: 0 / 1.384 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004208/0.5684, allocations: 259.3 kB / 1.385 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.5685, allocations: 81.02 kB / 1.385 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.5685, allocations: 4 kB / 1.385 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.5686, allocations: 7.984 kB / 1.385 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.5687, allocations: 12 kB / 1.385 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.5687, allocations: 8 kB / 1.385 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.43e-05/0.5688, allocations: 99.27 kB / 1.385 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5688, allocations: 4 kB / 1.385 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003183/0.5691, allocations: 51.92 kB / 1.385 GB, free: 9.957 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003789/0.5695, allocations: 167.2 kB / 1.385 GB, free: 9.797 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003072/0.5698, allocations: 95.89 kB / 1.385 GB, free: 9.703 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5698, allocations: 0 / 1.385 GB, free: 9.703 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.57, allocations: 55.91 kB / 1.385 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.5702, allocations: 11.92 kB / 1.385 GB, free: 9.637 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004575/0.5706, allocations: 233.1 kB / 1.385 GB, free: 9.383 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.5709, allocations: 0.6887 MB / 1.386 GB, free: 8.668 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.852e-05/0.5709, allocations: 11.98 kB / 1.386 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.089e-05/0.571, allocations: 11.44 kB / 1.386 GB, free: 8.645 MB / 0.8855 GB Notification: Performance of SimCode: time 2.3e-07/0.571, allocations: 0 / 1.386 GB, free: 8.645 MB / 0.8855 GB Notification: Performance of Templates: time 0.004468/0.5754, allocations: 1.794 MB / 1.388 GB, free: 6.855 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0