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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006322/0.006321, allocations: 99.62 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 191.7 kB / 16.67 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.285/2.285, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 59.91 kB / 0.9508 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9652/0.9665, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002559/0.9691, allocations: 1.642 MB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.9704, allocations: 0.7775 MB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.2e-05/0.9704, allocations: 5.031 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.829e-05/0.9705, allocations: 13.89 kB / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.977e-05/0.9706, allocations: 20.59 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006198/0.9712, allocations: 155.2 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.9714, allocations: 153.5 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.9715, allocations: 26.25 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.9717, allocations: 69.7 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.9718, allocations: 77.38 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.9718, allocations: 12.66 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002155/0.9721, allocations: 104.8 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.999e-05/0.9721, allocations: 35.03 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.121e-05/0.9722, allocations: 58.83 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003335/0.9725, allocations: 211 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.9726, allocations: 0.7969 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9726, allocations: 4.688 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.9726, allocations: 0 / 1.091 GB, free: 3.426 MB / 0.8575 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.0007649/0.9734, allocations: 0.5315 MB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.9734, allocations: 8.781 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.536e-05/0.9735, allocations: 10.91 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.9736, allocations: 189.9 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.9736, allocations: 6.656 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.9736, allocations: 10.48 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004728/0.9741, allocations: 149.1 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.9741, allocations: 0 / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.9742, allocations: 1.578 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.9742, allocations: 1.375 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004297/0.9746, allocations: 105.3 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007806/0.9754, allocations: 375.7 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/0.9758, allocations: 107.4 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003526/0.9761, allocations: 85.44 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.9762, allocations: 9.422 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004746/0.9766, allocations: 136.7 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/0.9767, allocations: 0 / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.001176/0.9778, allocations: 307.3 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.9779, allocations: 57.83 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.978, allocations: 153.9 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.978, allocations: 30.77 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.9781, allocations: 99.75 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.9781, allocations: 25.39 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/0.9782, allocations: 26.67 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.789e-05/0.9782, allocations: 333.7 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.9784, allocations: 42.75 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.9785, allocations: 78.17 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.9788, allocations: 119.9 kB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.9788, allocations: 0.8906 kB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003587/0.9792, allocations: 161.7 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.9792, allocations: 5.156 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.9792, allocations: 1.375 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.9792, allocations: 2.891 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.9794, allocations: 27.69 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.9794, allocations: 2.062 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.9795, allocations: 17.77 kB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.9796, allocations: 5.812 kB / 1.094 GB, free: 1.102 MB / 0.8575 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 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.062e-05/0.9796, allocations: 133.2 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.9797, allocations: 13.78 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/0.9797, allocations: 12.52 kB / 1.094 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.9797, allocations: 1.5 kB / 1.094 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.9797, allocations: 0 / 1.094 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.9797, allocations: 1.734 kB / 1.094 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.9808, allocations: 0.5274 MB / 1.095 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.9808, allocations: 0.8125 kB / 1.095 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.131e-05/0.9809, allocations: 12.55 kB / 1.095 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.9809, allocations: 1.359 kB / 1.095 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.9809, allocations: 8.125 kB / 1.095 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.9809, allocations: 4.594 kB / 1.095 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.9809, allocations: 0.7969 kB / 1.095 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007994/0.9817, allocations: 328.2 kB / 1.095 GB, free: 392 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.107e-05/0.9818, allocations: 88.34 kB / 1.095 GB, free: 288 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.9818, allocations: 2.391 kB / 1.095 GB, free: 288 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.982, allocations: 24.12 kB / 1.095 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.126e-05/0.9821, allocations: 15.5 kB / 1.095 GB, free: 276 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.9821, allocations: 5.547 kB / 1.095 GB, free: 276 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.376e-05/0.9822, allocations: 111.6 kB / 1.096 GB, free: 188 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9822, allocations: 0 / 1.096 GB, free: 188 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003754/0.9826, allocations: 45.67 kB / 1.096 GB, free: 180 kB / 0.8575 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,win.occ,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003526/0.9829, allocations: 176.1 kB / 1.096 GB, free: 56 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006223/0.9836, allocations: 141.1 kB / 1.096 GB, free: 24 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.9836, allocations: 0 / 1.096 GB, free: 24 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004379/0.984, allocations: 96.22 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.9844, allocations: 10.86 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009707/0.9854, allocations: 275.1 kB / 1.096 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.9858, allocations: 0.7014 MB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.444e-05/0.9859, allocations: 6.406 kB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.027e-05/0.9859, allocations: 12.84 kB / 1.097 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of SimCode: time 4.21e-07/0.9859, allocations: 0.8438 kB / 1.097 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of Templates: time 0.006494/0.9924, allocations: 2.011 MB / 1.099 GB, free: 14.92 MB / 0.8731 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches