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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001007/0.001007, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 181.8 kB / 16.92 MB, free: 6.918 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.454/1.454, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.464/2.464, allocations: 390.9 MB / 0.667 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003642, allocations: 8 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6694/0.6698, allocations: 142.4 MB / 0.9557 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.001556/0.6714, allocations: 1.236 MB / 0.9569 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.6725, allocations: 0.7424 MB / 0.9576 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.27e-05/0.6725, allocations: 0 / 0.9576 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.997e-05/0.6725, allocations: 5.375 kB / 0.9576 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.555e-05/0.6726, allocations: 13.25 kB / 0.9577 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000433/0.673, allocations: 118.2 kB / 0.9578 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.6732, allocations: 93.56 kB / 0.9579 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.226e-05/0.6732, allocations: 13.39 kB / 0.9579 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.08e-05/0.6733, allocations: 42.64 kB / 0.9579 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.776e-05/0.6734, allocations: 55.53 kB / 0.958 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.6734, allocations: 4.594 kB / 0.958 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.6736, allocations: 87.78 kB / 0.958 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.65e-05/0.6736, allocations: 23.09 kB / 0.9581 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.331e-05/0.6737, allocations: 64.44 kB / 0.9581 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.6739, allocations: 112.4 kB / 0.9582 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6739, allocations: 0 / 0.9582 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.582e-06/0.6739, allocations: 0 / 0.9582 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.6739, allocations: 0 / 0.9582 GB, free: 5.801 MB / 0.7169 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.0005398/0.6744, allocations: 444.8 kB / 0.9587 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.6745, allocations: 12.75 kB / 0.9587 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.6745, allocations: 9.562 kB / 0.9587 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.37e-05/0.6746, allocations: 188.3 kB / 0.9589 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.6746, allocations: 7.438 kB / 0.9589 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.6747, allocations: 4.125 kB / 0.9589 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.6749, allocations: 96.78 kB / 0.959 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.6749, allocations: 4 kB / 0.959 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.6749, allocations: 2 kB / 0.959 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.6749, allocations: 4 kB / 0.959 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.6751, allocations: 54.38 kB / 0.959 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006538/0.6758, allocations: 345.4 kB / 0.9594 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.6759, allocations: 64.7 kB / 0.9594 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.676, allocations: 46.84 kB / 0.9595 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.6761, allocations: 5.359 kB / 0.9595 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.6763, allocations: 97.62 kB / 0.9596 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.6763, allocations: 0 / 0.9596 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005007/0.6768, allocations: 190 kB / 0.9597 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.6768, allocations: 58.19 kB / 0.9598 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.718e-05/0.6769, allocations: 126.5 kB / 0.9599 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.6769, allocations: 26.95 kB / 0.9599 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.557e-05/0.677, allocations: 103.9 kB / 0.96 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.677, allocations: 18.47 kB / 0.9601 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.677, allocations: 21.91 kB / 0.9601 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.4e-05/0.6771, allocations: 324.8 kB / 0.9604 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.765e-05/0.6772, allocations: 31.97 kB / 0.9604 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.398e-05/0.6773, allocations: 62.53 kB / 0.9605 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.6775, allocations: 102.3 kB / 0.9606 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6775, allocations: 0 / 0.9606 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002476/0.6777, allocations: 138.8 kB / 0.9607 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.6777, allocations: 9.359 kB / 0.9607 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.6778, allocations: 1.062 kB / 0.9607 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.6778, allocations: 1.969 kB / 0.9607 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.6779, allocations: 15.3 kB / 0.9607 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.6779, allocations: 2.281 kB / 0.9607 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.404e-05/0.678, allocations: 13.94 kB / 0.9608 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.678, allocations: 4.906 kB / 0.9608 GB, free: 3.484 MB / 0.7169 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 7.167e-05/0.6781, allocations: 124.2 kB / 0.9609 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.777e-05/0.6781, allocations: 11.89 kB / 0.9609 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.446e-05/0.6781, allocations: 9.844 kB / 0.9609 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.6781, allocations: 1.75 kB / 0.9609 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.6781, allocations: 0 / 0.9609 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.6781, allocations: 4 kB / 0.9609 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004973/0.6787, allocations: 439.1 kB / 0.9613 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6787, allocations: 0 / 0.9613 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.98e-05/0.6787, allocations: 9.016 kB / 0.9613 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.6787, allocations: 0 / 0.9613 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.6787, allocations: 5.938 kB / 0.9613 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.6787, allocations: 4 kB / 0.9613 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6788, allocations: 5.188 kB / 0.9613 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.6791, allocations: 242.8 kB / 0.9616 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/0.6791, allocations: 95.73 kB / 0.9617 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.6792, allocations: 9.375 kB / 0.9617 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.6793, allocations: 9.438 kB / 0.9617 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.6793, allocations: 10.67 kB / 0.9617 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.6793, allocations: 2.75 kB / 0.9617 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.872e-05/0.6794, allocations: 98.27 kB / 0.9618 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6794, allocations: 3.938 kB / 0.9618 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003398/0.6797, allocations: 42.23 kB / 0.9618 GB, free: 2.508 MB / 0.7169 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.0003321/0.6801, allocations: 154.9 kB / 0.962 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002789/0.6804, allocations: 92.27 kB / 0.9621 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6804, allocations: 192 / 0.9621 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.6805, allocations: 52.84 kB / 0.9621 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.6808, allocations: 21.52 kB / 0.9621 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004438/0.6813, allocations: 259.8 kB / 0.9624 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.6814, allocations: 0.6918 MB / 0.9631 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.6815, allocations: 15.42 kB / 0.9631 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of SimCode: time 3.81e-07/0.6815, allocations: 0 / 0.9631 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of Templates: time 0.003392/0.6849, allocations: 1.777 MB / 0.9648 GB, free: 484 kB / 0.7169 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