Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,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.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,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.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 102.9 kB / 16.4 MB, free: 6.465 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.001551/0.001551, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.16 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.308/2.308, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 63.91 kB / 0.9515 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8701/0.8715, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002649/0.8742, allocations: 1.513 MB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.8755, allocations: 0.7457 MB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.747e-05/0.8756, allocations: 4.844 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.713e-05/0.8756, allocations: 8.453 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.111e-05/0.8757, allocations: 11.14 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005822/0.8763, allocations: 139.7 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.8765, allocations: 101.1 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.8766, allocations: 11.8 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.8767, allocations: 50.53 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.8768, allocations: 53.45 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.8768, allocations: 9.438 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.877, allocations: 101 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.05e-05/0.8771, allocations: 22.5 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.034e-05/0.8772, allocations: 39.22 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003075/0.8775, allocations: 169.8 kB / 1.092 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.8775, allocations: 8.672 kB / 1.092 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8775, allocations: 0 / 1.092 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.8775, allocations: 0 / 1.092 GB, free: 3.656 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006153/0.8781, allocations: 459.7 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.8782, allocations: 9.031 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.8782, allocations: 9.438 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.828e-05/0.8783, allocations: 174.4 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.8783, allocations: 7.281 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.8784, allocations: 5.547 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.8786, allocations: 89.47 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.8786, allocations: 4 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.8787, allocations: 5 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.8787, allocations: 1.688 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.8789, allocations: 42.22 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007153/0.8796, allocations: 344.7 kB / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.8798, allocations: 64.69 kB / 1.093 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.8799, allocations: 46.61 kB / 1.093 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.8799, allocations: 1.156 kB / 1.093 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003041/0.8802, allocations: 92.19 kB / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.8802, allocations: 4 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0007179/0.881, allocations: 183 kB / 1.093 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.881, allocations: 58.53 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.8811, allocations: 122.5 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.8812, allocations: 31.77 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.322e-05/0.8812, allocations: 92.48 kB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.8813, allocations: 21.81 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.289e-05/0.8813, allocations: 33.19 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.543e-05/0.8814, allocations: 323.8 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.8815, allocations: 29.39 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.8817, allocations: 67.66 kB / 1.094 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.8819, allocations: 95.27 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.8819, allocations: 0 / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003752/0.8823, allocations: 127.1 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.8824, allocations: 5.438 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.8824, allocations: 6.484 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.8824, allocations: 6 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.8826, allocations: 17.44 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.8826, allocations: 6.953 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.8827, allocations: 5.125 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.8827, allocations: 5.109 kB / 1.094 GB, free: 1.543 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,occ.y,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 (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 0.0001023/0.8828, allocations: 129 kB / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.8829, allocations: 12.45 kB / 1.094 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.55e-05/0.8829, allocations: 11.28 kB / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.8829, allocations: 1.125 kB / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.883, allocations: 1.062 kB / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.883, allocations: 0.7031 kB / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007302/0.8837, allocations: 437 kB / 1.095 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.8837, allocations: 0.9062 kB / 1.095 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.341e-05/0.8838, allocations: 6.016 kB / 1.095 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.8838, allocations: 4 kB / 1.095 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.8838, allocations: 3.281 kB / 1.095 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.8838, allocations: 4.719 kB / 1.095 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.8838, allocations: 4.453 kB / 1.095 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005129/0.8844, allocations: 238.5 kB / 1.095 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.109e-05/0.8844, allocations: 84.05 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.8844, allocations: 6.359 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.8846, allocations: 5.609 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/0.8847, allocations: 12.86 kB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.8847, allocations: 5.562 kB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.839e-05/0.8848, allocations: 94.17 kB / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.61e-07/0.8848, allocations: 0 / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005044/0.8853, allocations: 41.58 kB / 1.095 GB, free: 0.6602 MB / 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,occ.y,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 (8): * Single equations (assignments): 4 * 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.0004316/0.8857, allocations: 172.5 kB / 1.095 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004178/0.8862, allocations: 87.3 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.8862, allocations: 0.6875 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.8864, allocations: 53.22 kB / 1.095 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.8868, allocations: 15.34 kB / 1.095 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005918/0.8874, allocations: 230 kB / 1.096 GB, free: 312 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.8878, allocations: 0.6888 MB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.818e-05/0.8878, allocations: 15.94 kB / 1.096 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of SimCode: time 3.8e-07/0.8878, allocations: 0.75 kB / 1.096 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of Templates: time 0.005957/0.8938, allocations: 1.806 MB / 1.098 GB, free: 15.42 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches