Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001176/0.001176, allocations: 105.5 kB / 16.41 MB, free: 6.023 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.001235/0.001235, allocations: 189.7 kB / 17.34 MB, free: 5.609 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.642/2.642, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 63.89 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7544/0.7558, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002869/0.7587, allocations: 1.521 MB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.7602, allocations: 0.7556 MB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.537e-05/0.7603, allocations: 0 / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.141e-05/0.7604, allocations: 7.922 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.045e-05/0.7605, allocations: 15.86 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007148/0.7612, allocations: 135.6 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.7614, allocations: 99.7 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.7615, allocations: 15.98 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.7616, allocations: 39.89 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.132e-05/0.7617, allocations: 55.75 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.7618, allocations: 12 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002328/0.762, allocations: 95.91 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.021e-05/0.762, allocations: 31.91 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.939e-05/0.7621, allocations: 43.77 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.7624, allocations: 167.2 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.7624, allocations: 0 / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7624, allocations: 0 / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.7624, allocations: 4 kB / 1.211 GB, free: 10.63 MB / 0.9356 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.0007394/0.7632, allocations: 454.6 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.7632, allocations: 8.031 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.655e-05/0.7633, allocations: 12.84 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.7635, allocations: 183.1 kB / 1.212 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.7635, allocations: 4.375 kB / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.7635, allocations: 8.359 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.7638, allocations: 89.89 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.7638, allocations: 0 / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.7639, allocations: 0 / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.7639, allocations: 4 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.764, allocations: 51.95 kB / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007653/0.7648, allocations: 332.7 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.765, allocations: 58.59 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.7651, allocations: 52.77 kB / 1.213 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.7652, allocations: 3.938 kB / 1.213 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002538/0.7654, allocations: 95.34 kB / 1.213 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.683e-06/0.7654, allocations: 0 / 1.213 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0005257/0.766, allocations: 189.6 kB / 1.213 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.766, allocations: 55.41 kB / 1.213 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.7661, allocations: 133.8 kB / 1.213 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.7662, allocations: 25.7 kB / 1.213 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.7662, allocations: 96.05 kB / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.7663, allocations: 19.75 kB / 1.213 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/0.7663, allocations: 29.7 kB / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.7664, allocations: 326.8 kB / 1.213 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.424e-05/0.7665, allocations: 27.98 kB / 1.213 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.7666, allocations: 64.27 kB / 1.214 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.7668, allocations: 100.2 kB / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.7668, allocations: 0 / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002541/0.7671, allocations: 129.4 kB / 1.214 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.7671, allocations: 4 kB / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.7671, allocations: 0 / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.7672, allocations: 7.984 kB / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.7673, allocations: 15.94 kB / 1.214 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.7673, allocations: 3.984 kB / 1.214 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.643e-05/0.7674, allocations: 8.094 kB / 1.214 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.7674, allocations: 8 kB / 1.214 GB, free: 7.824 MB / 0.9356 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.0001041/0.7675, allocations: 125.7 kB / 1.214 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.7675, allocations: 7.906 kB / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.7676, allocations: 12.36 kB / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.7676, allocations: 0 / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.7676, allocations: 0 / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.7676, allocations: 8 kB / 1.214 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005443/0.7681, allocations: 426.3 kB / 1.214 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.7682, allocations: 0 / 1.214 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.151e-05/0.7682, allocations: 7.984 kB / 1.214 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.7682, allocations: 0 / 1.214 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.7682, allocations: 4 kB / 1.214 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.7682, allocations: 0 / 1.214 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.7683, allocations: 3.938 kB / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003758/0.7686, allocations: 255.6 kB / 1.215 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.7687, allocations: 77.11 kB / 1.215 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.7687, allocations: 11.98 kB / 1.215 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.7688, allocations: 4.062 kB / 1.215 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.7689, allocations: 11.92 kB / 1.215 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.7689, allocations: 7.938 kB / 1.215 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.047e-05/0.769, allocations: 105.6 kB / 1.215 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.769, allocations: 0 / 1.215 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000335/0.7693, allocations: 43.89 kB / 1.215 GB, free: 6.633 MB / 0.9356 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.0003566/0.7697, allocations: 161.9 kB / 1.215 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002962/0.77, allocations: 91.88 kB / 1.215 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.77, allocations: 0 / 1.215 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.7702, allocations: 55.91 kB / 1.215 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.7704, allocations: 9.703 kB / 1.215 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004635/0.7709, allocations: 230 kB / 1.215 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.7711, allocations: 0.6924 MB / 1.216 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/0.7712, allocations: 11.44 kB / 1.216 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.7712, allocations: 0 / 1.216 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of Templates: time 0.003909/0.7751, allocations: 1.809 MB / 1.218 GB, free: 3.539 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches