Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.077/2.077, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001112/0.001111, allocations: 184.9 kB / 487.4 MB, free: 5.023 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.312/1.312, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008338/0.0008338, allocations: 87.08 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.261e-05/1.264e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2162, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7415/0.9578, allocations: 150.9 MB / 1.353 GB, free: 18.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001793/0.958, allocations: 76.78 kB / 1.353 GB, free: 18.46 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.01102/0.969, allocations: 3.839 MB / 1.357 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.342e-06/0.969, allocations: 0 / 1.357 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.9691, allocations: 3.875 kB / 1.357 GB, free: 33.94 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005432/0.9696, allocations: 0.5241 MB / 1.358 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.9696, allocations: 7.688 kB / 1.358 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.9697, allocations: 19.58 kB / 1.358 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.658e-05/0.9698, allocations: 177.7 kB / 1.358 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.9698, allocations: 3.75 kB / 1.358 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.9698, allocations: 7.812 kB / 1.358 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001143/0.97, allocations: 51.39 kB / 1.358 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.9701, allocations: 91.06 kB / 1.358 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.9702, allocations: 3.938 kB / 1.358 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.9702, allocations: 0 / 1.358 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.9702, allocations: 3.984 kB / 1.358 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007832/0.971, allocations: 388.6 kB / 1.358 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.859e-05/0.9711, allocations: 58.34 kB / 1.358 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.076e-05/0.9712, allocations: 46.14 kB / 1.359 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.9712, allocations: 0 / 1.359 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/0.9713, allocations: 105.3 kB / 1.359 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.9713, allocations: 0 / 1.359 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002995/0.9716, allocations: 149.3 kB / 1.359 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.924e-05/0.9716, allocations: 58.69 kB / 1.359 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.604e-05/0.9717, allocations: 130.9 kB / 1.359 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.9718, allocations: 25.7 kB / 1.359 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.218e-05/0.9718, allocations: 104.6 kB / 1.359 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.9719, allocations: 20.16 kB / 1.359 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/0.9719, allocations: 0 / 1.359 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.972, allocations: 322.8 kB / 1.359 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.48e-05/0.972, allocations: 21.91 kB / 1.359 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.398e-05/0.9721, allocations: 61.8 kB / 1.359 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.353e-05/0.9722, allocations: 27.83 kB / 1.36 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9722, allocations: 0 / 1.36 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001623/0.9723, allocations: 119.8 kB / 1.36 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.9724, allocations: 5.703 kB / 1.36 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.9724, allocations: 4 kB / 1.36 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.9724, allocations: 4.078 kB / 1.36 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.9725, allocations: 27.92 kB / 1.36 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/0.9726, allocations: 9.234 kB / 1.36 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.811e-05/0.9727, allocations: 14.92 kB / 1.36 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.9727, allocations: 10.91 kB / 1.36 GB, free: 32.07 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.p,win.p,$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 7.323e-05/0.9728, allocations: 106.3 kB / 1.36 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.9728, allocations: 15.59 kB / 1.36 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.9728, allocations: 9.578 kB / 1.36 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.9728, allocations: 3.812 kB / 1.36 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.9728, allocations: 0 / 1.36 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.9728, allocations: 5.547 kB / 1.36 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000448/0.9733, allocations: 420.3 kB / 1.36 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.9733, allocations: 3.875 kB / 1.36 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.953e-05/0.9734, allocations: 22.89 kB / 1.36 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.9734, allocations: 0 / 1.36 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.9734, allocations: 2.625 kB / 1.36 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.9734, allocations: 0 / 1.36 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.9734, allocations: 4.141 kB / 1.36 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.9738, allocations: 245.8 kB / 1.36 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.128e-05/0.9738, allocations: 87.52 kB / 1.361 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.9738, allocations: 7.25 kB / 1.361 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.9741, allocations: 27.98 kB / 1.361 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.9741, allocations: 6.797 kB / 1.361 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.9741, allocations: 10.75 kB / 1.361 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.821e-05/0.9742, allocations: 105.7 kB / 1.361 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9742, allocations: 4 kB / 1.361 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003479/0.9746, allocations: 57.3 kB / 1.361 GB, free: 31.32 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0004146/0.975, allocations: 162.6 kB / 1.361 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001925/0.9752, allocations: 83.66 kB / 1.361 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9752, allocations: 4.062 kB / 1.361 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.867e-05/0.9753, allocations: 47.95 kB / 1.361 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.9755, allocations: 7.688 kB / 1.361 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003866/0.9759, allocations: 144.2 kB / 1.361 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.9763, allocations: 0.7093 MB / 1.362 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.307e-05/0.9764, allocations: 11.67 kB / 1.362 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.983e-05/0.9764, allocations: 14.08 kB / 1.362 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of SimCode: time 4.51e-07/0.9764, allocations: 0 / 1.362 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of Templates: time 0.004929/0.9813, allocations: 1.947 MB / 1.364 GB, free: 30.24 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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:TComf.amplitude,TComf.f,TComf.offset,TComf.phase,TComf.startTime,TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.AIn,win.AOut,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0