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.175/2.175, allocations: 390.5 MB / 398 MB, free: 10.95 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.001102/0.001102, allocations: 184.8 kB / 491.2 MB, free: 1.547 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.59/1.59, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.0008291/0.0008291, allocations: 103.2 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.878e-05/1.878e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3022, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.105/1.408, allocations: 151.6 MB / 1.36 GB, free: 17.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/1.408, allocations: 78.23 kB / 1.36 GB, free: 17.6 MB / 0.823 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.01081/1.419, allocations: 3.26 MB / 1.364 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.424e-06/1.419, allocations: 0 / 1.364 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.616e-06/1.419, allocations: 0 / 1.364 GB, free: 33.13 MB / 0.8386 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.0006244/1.42, allocations: 451.3 kB / 1.364 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/1.42, allocations: 11.53 kB / 1.364 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.363e-05/1.42, allocations: 11.7 kB / 1.364 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/1.42, allocations: 164.7 kB / 1.364 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/1.42, allocations: 7.938 kB / 1.364 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/1.42, allocations: 5.781 kB / 1.364 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001031/1.42, allocations: 30.72 kB / 1.364 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/1.42, allocations: 76.67 kB / 1.364 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/1.42, allocations: 0 / 1.364 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/1.42, allocations: 1.734 kB / 1.364 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/1.42, allocations: 0 / 1.364 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007332/1.421, allocations: 323.7 kB / 1.365 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.881e-05/1.421, allocations: 46.73 kB / 1.365 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.569e-05/1.421, allocations: 37.7 kB / 1.365 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/1.421, allocations: 3.625 kB / 1.365 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001387/1.421, allocations: 87.64 kB / 1.365 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/1.421, allocations: 0 / 1.365 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0003309/1.422, allocations: 121.6 kB / 1.365 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/1.422, allocations: 60.06 kB / 1.365 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.681e-05/1.422, allocations: 111 kB / 1.365 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/1.422, allocations: 27.48 kB / 1.365 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/1.422, allocations: 92.86 kB / 1.365 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/1.422, allocations: 21.16 kB / 1.365 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/1.422, allocations: 0 / 1.365 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001098/1.422, allocations: 322 kB / 1.366 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.902e-05/1.422, allocations: 18.38 kB / 1.366 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.787e-05/1.422, allocations: 57.23 kB / 1.366 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.385e-05/1.422, allocations: 26.84 kB / 1.366 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.422, allocations: 4 kB / 1.366 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001581/1.422, allocations: 101.5 kB / 1.366 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/1.422, allocations: 7.688 kB / 1.366 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/1.422, allocations: 0 / 1.366 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/1.422, allocations: 3.812 kB / 1.366 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/1.423, allocations: 18.31 kB / 1.366 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/1.423, allocations: 1.453 kB / 1.366 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.908e-05/1.423, allocations: 13.28 kB / 1.366 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/1.423, allocations: 11.88 kB / 1.366 GB, free: 31.38 MB / 0.8386 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 () * 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 8.213e-05/1.423, allocations: 111.7 kB / 1.366 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/1.423, allocations: 11.84 kB / 1.366 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.539e-05/1.423, allocations: 17.86 kB / 1.366 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/1.423, allocations: 7.938 kB / 1.366 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.423, allocations: 0 / 1.366 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.423, allocations: 0 / 1.366 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004047/1.423, allocations: 376.8 kB / 1.366 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.423, allocations: 3.844 kB / 1.366 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.179e-05/1.423, allocations: 5.156 kB / 1.366 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/1.423, allocations: 0 / 1.366 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/1.423, allocations: 1.688 kB / 1.366 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/1.423, allocations: 4.641 kB / 1.366 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.423, allocations: 0 / 1.366 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/1.424, allocations: 229.6 kB / 1.367 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.75e-05/1.424, allocations: 86.47 kB / 1.367 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/1.424, allocations: 1.547 kB / 1.367 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/1.424, allocations: 9.422 kB / 1.367 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/1.424, allocations: 10.69 kB / 1.367 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/1.424, allocations: 1.547 kB / 1.367 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.671e-05/1.424, allocations: 92.91 kB / 1.367 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.424, allocations: 0 / 1.367 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000342/1.424, allocations: 56.25 kB / 1.367 GB, free: 30.64 MB / 0.8386 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) * 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.000431/1.425, allocations: 168.1 kB / 1.367 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001638/1.425, allocations: 65.84 kB / 1.367 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.425, allocations: 0 / 1.367 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.322e-05/1.425, allocations: 38.69 kB / 1.367 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/1.425, allocations: 11.33 kB / 1.367 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/1.426, allocations: 116.5 kB / 1.367 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/1.426, allocations: 0.6969 MB / 1.368 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.544e-05/1.426, allocations: 9.781 kB / 1.368 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/1.426, allocations: 16.7 kB / 1.368 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.426, allocations: 0 / 1.368 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of Templates: time 0.004432/1.43, allocations: 1.762 MB / 1.37 GB, free: 29.57 MB / 0.8386 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