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.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.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.001454/0.00146, allocations: 110.8 kB / 16.41 MB, free: 6.496 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.001795/0.001795, allocations: 183 kB / 17.34 MB, free: 5.766 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.64/2.64, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 76.09 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8333/0.8347, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.003922/0.8387, allocations: 1.503 MB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001901/0.8406, allocations: 0.7167 MB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.212e-05/0.8407, allocations: 0 / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.61e-05/0.8407, allocations: 3.938 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.672e-05/0.8408, allocations: 19.86 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007352/0.8416, allocations: 123.6 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.8418, allocations: 79.7 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.8419, allocations: 11.95 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.8421, allocations: 43.84 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.698e-05/0.8422, allocations: 39.83 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.8422, allocations: 4 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002924/0.8425, allocations: 95.91 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.351e-05/0.8426, allocations: 15.98 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.572e-05/0.8427, allocations: 35.78 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003373/0.843, allocations: 143.3 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.843, allocations: 4 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.332e-06/0.843, allocations: 0 / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.843, allocations: 0 / 1.211 GB, free: 10.76 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009112/0.844, allocations: 419 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.844, allocations: 16.03 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.774e-05/0.8441, allocations: 4.844 kB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.8443, allocations: 168.3 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/0.8443, allocations: 4.375 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.8444, allocations: 8.375 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.8446, allocations: 77.89 kB / 1.212 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.8447, allocations: 0 / 1.212 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.8447, allocations: 0 / 1.212 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.8447, allocations: 0 / 1.212 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002004/0.8449, allocations: 39.97 kB / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008099/0.8457, allocations: 320.7 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.8459, allocations: 50.5 kB / 1.212 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.8461, allocations: 32.97 kB / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.8462, allocations: 8 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003063/0.8465, allocations: 71.38 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 2.655e-06/0.8465, allocations: 3.938 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0005836/0.8471, allocations: 141.6 kB / 1.212 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.8472, allocations: 63.33 kB / 1.213 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.8473, allocations: 125.7 kB / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.8474, allocations: 29.7 kB / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.8474, allocations: 92.12 kB / 1.213 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.8475, allocations: 11.81 kB / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.551e-05/0.8475, allocations: 29.7 kB / 1.213 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.8477, allocations: 322.8 kB / 1.213 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.8478, allocations: 23.97 kB / 1.213 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.848, allocations: 54.56 kB / 1.213 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.8484, allocations: 74.48 kB / 1.213 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.8484, allocations: 0 / 1.213 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003834/0.8488, allocations: 113.8 kB / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.8488, allocations: 8.062 kB / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.8489, allocations: 0 / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.8489, allocations: 0 / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.849, allocations: 19.98 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.849, allocations: 4.062 kB / 1.213 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.8492, allocations: 7.938 kB / 1.213 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.8492, allocations: 4 kB / 1.213 GB, free: 8.215 MB / 0.9356 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 0.0001313/0.8493, allocations: 124.3 kB / 1.214 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.8494, allocations: 11.91 kB / 1.214 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.599e-05/0.8494, allocations: 12.36 kB / 1.214 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.8494, allocations: 0 / 1.214 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.8494, allocations: 3.938 kB / 1.214 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.8494, allocations: 0 / 1.214 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006441/0.8501, allocations: 382.5 kB / 1.214 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.8501, allocations: 0 / 1.214 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.898e-05/0.8502, allocations: 7.938 kB / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.8502, allocations: 4 kB / 1.214 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.8502, allocations: 3.984 kB / 1.214 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.8502, allocations: 0 / 1.214 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.8503, allocations: 3.938 kB / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004159/0.8507, allocations: 207.4 kB / 1.214 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.8507, allocations: 85 kB / 1.214 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.8508, allocations: 11.98 kB / 1.214 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.8509, allocations: 4 kB / 1.214 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.851, allocations: 11.92 kB / 1.214 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.851, allocations: 4 kB / 1.214 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.753e-05/0.8511, allocations: 95.27 kB / 1.214 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8512, allocations: 0 / 1.214 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003188/0.8515, allocations: 39.94 kB / 1.214 GB, free: 7.121 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: 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.0004409/0.8519, allocations: 167.8 kB / 1.215 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003341/0.8523, allocations: 67.95 kB / 1.215 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8523, allocations: 0 / 1.215 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.8525, allocations: 39.92 kB / 1.215 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.8529, allocations: 7.922 kB / 1.215 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005258/0.8534, allocations: 210.2 kB / 1.215 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.8538, allocations: 0.6885 MB / 1.216 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.383e-05/0.8538, allocations: 11.44 kB / 1.216 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of SimCode: time 2.8e-07/0.8538, allocations: 0 / 1.216 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of Templates: time 0.004756/0.8586, allocations: 1.623 MB / 1.217 GB, free: 4.266 MB / 0.9356 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