Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007982/0.007982, allocations: 105.8 kB / 15.74 MB, free: 5.996 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.001586/0.001586, allocations: 200 kB / 16.68 MB, free: 5.922 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.237/2.237, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.89 kB / 0.9508 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8366/0.8378, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002603/0.8404, allocations: 1.592 MB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.8418, allocations: 0.7744 MB / 1.09 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.155e-05/0.8419, allocations: 1.062 kB / 1.09 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.165e-05/0.8419, allocations: 9.609 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.854e-05/0.842, allocations: 25.05 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006107/0.8426, allocations: 144.1 kB / 1.09 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000185/0.8428, allocations: 135.8 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.8429, allocations: 27.28 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.8431, allocations: 58 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.8432, allocations: 78.5 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.8432, allocations: 12.09 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.8435, allocations: 100.5 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.823e-05/0.8435, allocations: 28.42 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.859e-05/0.8436, allocations: 56.16 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.8439, allocations: 194.6 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.8439, allocations: 0.875 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.645e-06/0.8439, allocations: 0 / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.8439, allocations: 3.938 kB / 1.091 GB, free: 3.512 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007327/0.8447, allocations: 486.4 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.8447, allocations: 9.688 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.469e-05/0.8448, allocations: 9.938 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.8449, allocations: 191.4 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.8449, allocations: 4.891 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.845, allocations: 13.52 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.8452, allocations: 96.7 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.8452, allocations: 0 / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.8453, allocations: 0.8125 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.8453, allocations: 2.391 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.8455, allocations: 60.8 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000894/0.8464, allocations: 374.3 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.8466, allocations: 69.45 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.8468, allocations: 56.14 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.8468, allocations: 3.188 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002453/0.847, allocations: 105.3 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.847, allocations: 0.625 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0006121/0.8477, allocations: 217.7 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.8477, allocations: 59.16 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.8478, allocations: 149.1 kB / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.8478, allocations: 26.61 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.8479, allocations: 99.72 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.8479, allocations: 20.38 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-05/0.848, allocations: 32.62 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.559e-05/0.8481, allocations: 321.4 kB / 1.093 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.8482, allocations: 44.77 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.8483, allocations: 74.59 kB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.8486, allocations: 113.3 kB / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.8486, allocations: 0.8438 kB / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000376/0.849, allocations: 151.5 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.8491, allocations: 6.406 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.8491, allocations: 4.828 kB / 1.094 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.8491, allocations: 2.906 kB / 1.094 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.8492, allocations: 25.72 kB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/0.8493, allocations: 5.938 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.8494, allocations: 15.78 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.8494, allocations: 5 kB / 1.094 GB, free: 1.297 MB / 0.8575 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 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.308e-05/0.8495, allocations: 126.2 kB / 1.094 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.8495, allocations: 8.125 kB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/0.8496, allocations: 12.52 kB / 1.094 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.8496, allocations: 6.359 kB / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.8496, allocations: 3.938 kB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.8496, allocations: 1.609 kB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000582/0.8502, allocations: 455.8 kB / 1.094 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.8502, allocations: 0.7969 kB / 1.094 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.129e-05/0.8502, allocations: 8.844 kB / 1.094 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.8503, allocations: 5.047 kB / 1.094 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.8503, allocations: 11.28 kB / 1.094 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.8503, allocations: 0.8438 kB / 1.094 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.8503, allocations: 5.219 kB / 1.094 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004049/0.8507, allocations: 267.5 kB / 1.095 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/0.8507, allocations: 92.98 kB / 1.095 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.8508, allocations: 10.2 kB / 1.095 GB, free: 492 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.8509, allocations: 9.844 kB / 1.095 GB, free: 488 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.851, allocations: 10.48 kB / 1.095 GB, free: 484 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.851, allocations: 4.594 kB / 1.095 GB, free: 484 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.848e-05/0.8511, allocations: 108.5 kB / 1.095 GB, free: 400 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8511, allocations: 0 / 1.095 GB, free: 400 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003647/0.8514, allocations: 45.08 kB / 1.095 GB, free: 392 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,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 (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003717/0.8518, allocations: 166 kB / 1.095 GB, free: 280 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000363/0.8522, allocations: 106.8 kB / 1.095 GB, free: 252 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8522, allocations: 0 / 1.095 GB, free: 252 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.8524, allocations: 59.2 kB / 1.095 GB, free: 232 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.8527, allocations: 19.89 kB / 1.095 GB, free: 220 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004771/0.8532, allocations: 227.8 kB / 1.095 GB, free: 44 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.8535, allocations: 0.6962 MB / 1.096 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.994e-05/0.8535, allocations: 18.2 kB / 1.096 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.8536, allocations: 13.22 kB / 1.096 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of SimCode: time 3.1e-07/0.8536, allocations: 0 / 1.096 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of Templates: time 0.005547/0.8591, allocations: 2.009 MB / 1.098 GB, free: 15.14 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches