Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, 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.001152/0.001152, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.336/1.336, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.671/2.671, allocations: 462.7 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003215, allocations: 8.906 kB / 0.9034 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2677, allocations: 159.6 MB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001737/0.2695, allocations: 1.217 MB / 1.061 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.2708, allocations: 0.7245 MB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.547e-05/0.2709, allocations: 0 / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.901e-05/0.271, allocations: 11.94 kB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.396e-05/0.271, allocations: 11.86 kB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005754/0.2716, allocations: 103.8 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.2718, allocations: 67.84 kB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.803e-05/0.2718, allocations: 8 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.024e-05/0.2719, allocations: 31.91 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.061e-05/0.272, allocations: 39.83 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.272, allocations: 7.938 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.2723, allocations: 87.91 kB / 1.062 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.348e-05/0.2723, allocations: 11.92 kB / 1.062 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.588e-05/0.2724, allocations: 57.55 kB / 1.062 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.2725, allocations: 96.05 kB / 1.062 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.217e-06/0.2726, allocations: 0 / 1.062 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2726, allocations: 0 / 1.062 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.2726, allocations: 0 / 1.062 GB, free: 2.496 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005561/0.2731, allocations: 409.1 kB / 1.062 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2732, allocations: 11.97 kB / 1.062 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.2732, allocations: 8.844 kB / 1.062 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.2733, allocations: 184.1 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.2734, allocations: 8.359 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.2734, allocations: 8.375 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.2736, allocations: 69.97 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.2736, allocations: 4 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.2736, allocations: 0 / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.2736, allocations: 4 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.2738, allocations: 39.97 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005984/0.2744, allocations: 324.6 kB / 1.063 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.2745, allocations: 50.56 kB / 1.063 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.533e-05/0.2746, allocations: 32.97 kB / 1.063 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.2747, allocations: 4 kB / 1.063 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/0.2749, allocations: 83.38 kB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.2749, allocations: 0 / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004097/0.2753, allocations: 153.6 kB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.2753, allocations: 59.41 kB / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.822e-05/0.2754, allocations: 121.8 kB / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.2755, allocations: 25.7 kB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.931e-05/0.2755, allocations: 96.12 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.2755, allocations: 11.75 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.2756, allocations: 21.7 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2757, allocations: 326.7 kB / 1.064 GB, free: 264 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.48e-05/0.2758, allocations: 31.98 kB / 1.064 GB, free: 232 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.32e-05/0.2759, allocations: 50.55 kB / 1.064 GB, free: 172 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.2761, allocations: 86.42 kB / 1.064 GB, free: 76 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2761, allocations: 4 kB / 1.064 GB, free: 72 kB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002696/0.2764, allocations: 113.5 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.2764, allocations: 5.562 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2764, allocations: 8.047 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.2764, allocations: 4 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.489e-05/0.2765, allocations: 15.94 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.2766, allocations: 0 / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.925e-05/0.2766, allocations: 15.98 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.2767, allocations: 4 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.333e-05/0.2768, allocations: 117.8 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.2768, allocations: 11.91 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.2768, allocations: 16.34 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2768, allocations: 0 / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2768, allocations: 0 / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2768, allocations: 0 / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.2773, allocations: 394.3 kB / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2773, allocations: 0 / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-05/0.2774, allocations: 8 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2774, allocations: 0 / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.2774, allocations: 4 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2774, allocations: 3.984 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.2774, allocations: 3.938 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.2777, allocations: 215.4 kB / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.2778, allocations: 85.02 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.2778, allocations: 4 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.963e-05/0.2779, allocations: 7.984 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.2779, allocations: 3.938 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.278, allocations: 7.984 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.948e-05/0.278, allocations: 91.92 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.278, allocations: 0 / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002892/0.2783, allocations: 36 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.2787, allocations: 171.5 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002394/0.2789, allocations: 83.95 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2789, allocations: 0 / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.2791, allocations: 35.98 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.2793, allocations: 4 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.2797, allocations: 238.9 kB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.28, allocations: 0.6848 MB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.28, allocations: 11.44 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.28, allocations: 0 / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of Templates: time 0.003421/0.2834, allocations: 1.607 MB / 1.068 GB, free: 11.93 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches