Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Haldi2009WindowsTInTout,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.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,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.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009058/0.0009058, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0009394/0.0009395, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.812/2.812, allocations: 437.7 MB / 0.7117 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003884, allocations: 8 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8231/0.8235, allocations: 153.8 MB / 1.022 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.001679/0.8252, allocations: 1.285 MB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.8264, allocations: 0.7289 MB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.044e-05/0.8265, allocations: 0 / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.849e-05/0.8265, allocations: 7.875 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.129e-05/0.8266, allocations: 23.84 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.827, allocations: 115.7 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.8272, allocations: 115.6 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.96e-05/0.8273, allocations: 15.97 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.773e-05/0.8274, allocations: 55.83 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.8275, allocations: 59.8 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.8275, allocations: 8 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.8277, allocations: 87.84 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.946e-05/0.8278, allocations: 23.91 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.293e-05/0.8278, allocations: 41.69 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.828, allocations: 133.6 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.828, allocations: 0 / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.633e-06/0.828, allocations: 0 / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.828, allocations: 0 / 1.025 GB, free: 13.35 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006899/0.8287, allocations: 475.9 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.8288, allocations: 12.55 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.8288, allocations: 11.91 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.8289, allocations: 176.2 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.829, allocations: 4 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.829, allocations: 11.94 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.8293, allocations: 113.5 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.8293, allocations: 0 / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.8293, allocations: 0 / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.8293, allocations: 0 / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.8295, allocations: 79.89 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007818/0.8303, allocations: 376.7 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.8305, allocations: 70.55 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.8306, allocations: 56.83 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.8306, allocations: 16.06 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.8309, allocations: 107.3 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.8309, allocations: 0 / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005506/0.8315, allocations: 225.4 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.8315, allocations: 55.41 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.8316, allocations: 149.7 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.8317, allocations: 29.7 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.269e-05/0.8317, allocations: 100.4 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.8318, allocations: 15.72 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/0.8318, allocations: 8 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.8319, allocations: 327.2 kB / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.832, allocations: 44.08 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.8322, allocations: 84.14 kB / 1.027 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.8323, allocations: 55.98 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.8323, allocations: 3.938 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003349/0.8327, allocations: 165.4 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.8327, allocations: 8 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.8327, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.8327, allocations: 4 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.8329, allocations: 24.08 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.8329, allocations: 4 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.931e-05/0.833, allocations: 19.83 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.833, allocations: 4 kB / 1.028 GB, free: 10.33 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 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,win.occ,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.8331, allocations: 129.7 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.956e-05/0.8331, allocations: 7.906 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.481e-05/0.8332, allocations: 12.7 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.8332, allocations: 8 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.8332, allocations: 0 / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.8332, allocations: 0 / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006003/0.8338, allocations: 474.2 kB / 1.028 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.8338, allocations: 4 kB / 1.028 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.508e-05/0.8339, allocations: 11.98 kB / 1.028 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.8339, allocations: 0 / 1.028 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.8339, allocations: 0 / 1.028 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.8339, allocations: 0 / 1.028 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8339, allocations: 0 / 1.028 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000395/0.8343, allocations: 283.3 kB / 1.029 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.8344, allocations: 88.95 kB / 1.029 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.8344, allocations: 4 kB / 1.029 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.8346, allocations: 11.98 kB / 1.029 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.8346, allocations: 7.984 kB / 1.029 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.8346, allocations: 4 kB / 1.029 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.663e-05/0.8347, allocations: 111.9 kB / 1.029 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8347, allocations: 4 kB / 1.029 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003188/0.835, allocations: 43.94 kB / 1.029 GB, free: 9.043 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,win.occ,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 (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003601/0.8354, allocations: 172.8 kB / 1.029 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000328/0.8357, allocations: 115.9 kB / 1.029 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8358, allocations: 0 / 1.029 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.8359, allocations: 68.09 kB / 1.029 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.8362, allocations: 17.62 kB / 1.029 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004849/0.8367, allocations: 249.4 kB / 1.029 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.837, allocations: 0.6965 MB / 1.03 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.683e-05/0.837, allocations: 7.938 kB / 1.03 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.8371, allocations: 15.44 kB / 1.03 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8371, allocations: 192 / 1.03 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.004845/0.8419, allocations: 1.794 MB / 1.032 GB, free: 5.875 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches