Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001622/0.001622, allocations: 109.5 kB / 15.99 MB, free: 6.348 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.001695/0.001695, allocations: 192.2 kB / 16.91 MB, free: 6.184 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.425/1.425, allocations: 222.9 MB / 240.6 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.669/2.669, allocations: 437.1 MB / 0.7108 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.89 kB / 0.8694 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.554/0.556, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002909/0.5589, allocations: 1.573 MB / 1.019 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.5603, allocations: 0.748 MB / 1.02 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.666e-05/0.5603, allocations: 0 / 1.02 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.8e-05/0.5604, allocations: 3.938 kB / 1.02 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.033e-05/0.5605, allocations: 23.78 kB / 1.02 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005135/0.561, allocations: 131.7 kB / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.5611, allocations: 87.83 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.49e-05/0.5612, allocations: 19.97 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.5613, allocations: 47.8 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.074e-05/0.5614, allocations: 51.86 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.5615, allocations: 11.94 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.5617, allocations: 95.91 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.607e-05/0.5617, allocations: 23.97 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/0.5618, allocations: 47.78 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.562, allocations: 113.8 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.562, allocations: 3.984 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.372e-06/0.562, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.562, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 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.0006929/0.5627, allocations: 458.5 kB / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.5627, allocations: 8.031 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.5628, allocations: 12.84 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.5629, allocations: 182.7 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.563, allocations: 4.375 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.563, allocations: 4.375 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.5632, allocations: 89.94 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.5633, allocations: 3.938 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.5633, allocations: 4 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.5633, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.5635, allocations: 51.91 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007628/0.5642, allocations: 336.6 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.5644, allocations: 58.55 kB / 1.022 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.5646, allocations: 49.03 kB / 1.022 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.5646, allocations: 3.984 kB / 1.022 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002775/0.5649, allocations: 95.34 kB / 1.022 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.462e-06/0.5649, allocations: 0 / 1.022 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005404/0.5654, allocations: 181.5 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.5655, allocations: 55.41 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.5656, allocations: 129.8 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.5656, allocations: 29.7 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.197e-05/0.5657, allocations: 92 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.5657, allocations: 27.72 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/0.5658, allocations: 33.64 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.5659, allocations: 322.8 kB / 1.023 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.982e-05/0.566, allocations: 35.97 kB / 1.023 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.5662, allocations: 60.28 kB / 1.023 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.5664, allocations: 96.2 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5664, allocations: 0 / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002789/0.5666, allocations: 133.4 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.5667, allocations: 8 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.5667, allocations: 0 / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.5667, allocations: 0 / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.5668, allocations: 15.98 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.5668, allocations: 4.406 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.366e-05/0.5669, allocations: 15.91 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.5669, allocations: 8.062 kB / 1.023 GB, free: 12.93 MB / 0.7794 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.0001109/0.5671, allocations: 125.7 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.5671, allocations: 7.906 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.595e-05/0.5671, allocations: 8.375 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.5671, allocations: 4.047 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.5671, allocations: 7.984 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5671, allocations: 0 / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007017/0.5679, allocations: 438.2 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5679, allocations: 0 / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.332e-05/0.5679, allocations: 7.984 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5679, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.5679, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.5679, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.568, allocations: 7.938 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004147/0.5684, allocations: 243.4 kB / 1.024 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.696e-05/0.5684, allocations: 85.02 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.5685, allocations: 4 kB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.5686, allocations: 4 kB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.5686, allocations: 15.86 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.5687, allocations: 4 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.756e-05/0.5687, allocations: 104.5 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5687, allocations: 0 / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003072/0.5691, allocations: 40 kB / 1.024 GB, free: 11.74 MB / 0.7794 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.0003672/0.5694, allocations: 157.3 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002995/0.5697, allocations: 99.88 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5698, allocations: 0 / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.5699, allocations: 43.92 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.5702, allocations: 15.98 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004725/0.5707, allocations: 238.1 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.571, allocations: 0.6962 MB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/0.5711, allocations: 11.44 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.5711, allocations: 0 / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of Templates: time 0.003836/0.5749, allocations: 1.803 MB / 1.027 GB, free: 8.641 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches