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.482/2.482, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001092/0.001092, allocations: 169.1 kB / 498.1 MB, free: 5.734 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.684/1.684, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.001013/0.001013, allocations: 98.52 kB / 0.9346 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004056/0.0004058, allocations: 6.906 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3111, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1907/0.5019, allocations: 151.7 MB / 1.371 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.5022, allocations: 87.94 kB / 1.371 GB, free: 10.27 MB / 0.8698 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.01261/0.5149, allocations: 3.88 MB / 1.375 GB, free: 6.375 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.775e-06/0.5149, allocations: 4 kB / 1.375 GB, free: 6.371 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.5149, allocations: 4 kB / 1.375 GB, free: 6.367 MB / 0.8698 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.0007309/0.5156, allocations: 0.5289 MB / 1.375 GB, free: 5.766 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.5157, allocations: 8.031 kB / 1.375 GB, free: 5.758 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.898e-05/0.5158, allocations: 23.75 kB / 1.375 GB, free: 5.734 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.5159, allocations: 182.9 kB / 1.376 GB, free: 5.516 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.658e-05/0.516, allocations: 3.938 kB / 1.376 GB, free: 5.512 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.516, allocations: 12 kB / 1.376 GB, free: 5.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004604/0.5165, allocations: 149.5 kB / 1.376 GB, free: 5.348 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.5165, allocations: 0 / 1.376 GB, free: 5.348 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.5165, allocations: 3.938 kB / 1.376 GB, free: 5.344 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.5165, allocations: 4 kB / 1.376 GB, free: 5.34 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004277/0.517, allocations: 127.9 kB / 1.376 GB, free: 5.215 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.518, allocations: 412.5 kB / 1.376 GB, free: 4.762 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/0.5183, allocations: 118.5 kB / 1.376 GB, free: 4.637 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.5184, allocations: 4 kB / 1.376 GB, free: 4.633 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004212/0.5188, allocations: 159.2 kB / 1.377 GB, free: 4.465 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=9): time 3.377e-06/0.5188, allocations: 0 / 1.377 GB, free: 4.465 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9): time 0.001132/0.52, allocations: 353.2 kB / 1.377 GB, free: 4.113 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.52, allocations: 59.48 kB / 1.377 GB, free: 4.043 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.5202, allocations: 135.5 kB / 1.377 GB, free: 3.902 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.5202, allocations: 33.7 kB / 1.377 GB, free: 3.863 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.854e-05/0.5203, allocations: 100.3 kB / 1.377 GB, free: 3.762 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.5203, allocations: 19.8 kB / 1.377 GB, free: 3.742 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.5204, allocations: 4 kB / 1.377 GB, free: 3.738 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.5205, allocations: 318.8 kB / 1.378 GB, free: 3.418 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.5207, allocations: 55.97 kB / 1.378 GB, free: 3.363 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.5208, allocations: 85 kB / 1.378 GB, free: 3.266 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.521, allocations: 55.97 kB / 1.378 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.521, allocations: 0 / 1.378 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003509/0.5214, allocations: 173.4 kB / 1.378 GB, free: 3.035 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.5214, allocations: 5.25 kB / 1.378 GB, free: 3.031 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/0.5214, allocations: 3.984 kB / 1.378 GB, free: 3.027 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.5214, allocations: 7.953 kB / 1.378 GB, free: 3.02 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.5216, allocations: 32.03 kB / 1.378 GB, free: 2.988 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.5216, allocations: 4 kB / 1.378 GB, free: 2.984 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.5217, allocations: 15.94 kB / 1.378 GB, free: 2.969 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.5217, allocations: 11.98 kB / 1.378 GB, free: 2.957 MB / 0.8698 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 () * 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.0001132/0.5219, allocations: 126.2 kB / 1.378 GB, free: 2.824 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.5219, allocations: 7.906 kB / 1.378 GB, free: 2.816 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/0.5219, allocations: 16.72 kB / 1.378 GB, free: 2.797 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.5219, allocations: 3.953 kB / 1.378 GB, free: 2.793 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.522, allocations: 7.922 kB / 1.378 GB, free: 2.785 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.522, allocations: 0 / 1.378 GB, free: 2.785 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.523, allocations: 0.549 MB / 1.379 GB, free: 2.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.523, allocations: 0 / 1.379 GB, free: 2.18 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.995e-05/0.5231, allocations: 15.98 kB / 1.379 GB, free: 2.164 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.5231, allocations: 7.938 kB / 1.379 GB, free: 2.156 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.5231, allocations: 8.109 kB / 1.379 GB, free: 2.148 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.5231, allocations: 3.938 kB / 1.379 GB, free: 2.145 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5231, allocations: 0 / 1.379 GB, free: 2.145 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007613/0.5239, allocations: 356.1 kB / 1.379 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.825e-05/0.524, allocations: 85.02 kB / 1.379 GB, free: 1.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.524, allocations: 7.953 kB / 1.379 GB, free: 1.672 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.5243, allocations: 31.97 kB / 1.379 GB, free: 1.641 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.5243, allocations: 7.984 kB / 1.379 GB, free: 1.633 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.5244, allocations: 7.984 kB / 1.379 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.924e-05/0.5244, allocations: 112.9 kB / 1.379 GB, free: 1.516 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5244, allocations: 0 / 1.379 GB, free: 1.516 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004602/0.5249, allocations: 55.94 kB / 1.379 GB, free: 1.461 MB / 0.8698 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) * Number of clocked states: 0 () * 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.0004505/0.5254, allocations: 176.2 kB / 1.379 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005304/0.5259, allocations: 163.9 kB / 1.38 GB, free: 1.133 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5259, allocations: 4.25 kB / 1.38 GB, free: 1.129 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003188/0.5263, allocations: 103.9 kB / 1.38 GB, free: 1.027 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.5265, allocations: 12 kB / 1.38 GB, free: 1.016 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000687/0.5272, allocations: 297 kB / 1.38 GB, free: 0.6953 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.5275, allocations: 0.7026 MB / 1.381 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.297e-05/0.5275, allocations: 19.92 kB / 1.381 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.5276, allocations: 11.44 kB / 1.381 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of SimCode: time 2.11e-07/0.5276, allocations: 0 / 1.381 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of Templates: time 0.00477/0.5324, allocations: 2.005 MB / 1.383 GB, free: 13.94 MB / 0.8855 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) Reference file matches