Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005634/0.005634, allocations: 96.73 kB / 15.73 MB, free: 6.047 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.001187/0.001187, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.705/2.705, allocations: 469.8 MB / 0.7425 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.91 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.344, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002818/0.3468, allocations: 1.596 MB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.3484, allocations: 0.779 MB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.548e-05/0.3485, allocations: 4 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.04e-05/0.3485, allocations: 7.875 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.586e-05/0.3486, allocations: 19.78 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006999/0.3493, allocations: 147.5 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.3495, allocations: 139.6 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3496, allocations: 15.97 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.3498, allocations: 59.84 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.3499, allocations: 71.78 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.113e-05/0.3499, allocations: 12 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002418/0.3502, allocations: 103.8 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.855e-05/0.3502, allocations: 27.95 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.3503, allocations: 59.7 kB / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.3506, allocations: 191.3 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3506, allocations: 0 / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3506, allocations: 0 / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.3507, allocations: 0 / 1.224 GB, free: 10.59 MB / 0.9825 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.0007619/0.3514, allocations: 494.1 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.3514, allocations: 12.03 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.372e-05/0.3515, allocations: 12.83 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.3517, allocations: 189.8 kB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.3517, allocations: 8.375 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.3517, allocations: 12.12 kB / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.352, allocations: 93.61 kB / 1.225 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.352, allocations: 4 kB / 1.225 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.352, allocations: 4 kB / 1.225 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.352, allocations: 4 kB / 1.225 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.3522, allocations: 55.95 kB / 1.225 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008647/0.3531, allocations: 376.6 kB / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.3533, allocations: 66.55 kB / 1.225 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.3534, allocations: 44.83 kB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.3534, allocations: 11.94 kB / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002619/0.3537, allocations: 103.3 kB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.874e-06/0.3537, allocations: 4 kB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0005935/0.3543, allocations: 209.5 kB / 1.225 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.3543, allocations: 51.41 kB / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.3544, allocations: 151.8 kB / 1.226 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.3545, allocations: 25.7 kB / 1.226 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.712e-05/0.3545, allocations: 104.4 kB / 1.226 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.3546, allocations: 31.73 kB / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.428e-05/0.3546, allocations: 33.7 kB / 1.226 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.3548, allocations: 318.8 kB / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.3549, allocations: 43.97 kB / 1.226 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.355, allocations: 72.27 kB / 1.226 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.3553, allocations: 116.2 kB / 1.226 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3553, allocations: 0 / 1.226 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003336/0.3556, allocations: 153.5 kB / 1.226 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3556, allocations: 10.19 kB / 1.226 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3556, allocations: 0 / 1.226 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3556, allocations: 0 / 1.226 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.3558, allocations: 27.92 kB / 1.226 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.3558, allocations: 7.922 kB / 1.226 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.3559, allocations: 15.89 kB / 1.226 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.3559, allocations: 4 kB / 1.226 GB, free: 7.508 MB / 0.9825 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,win.occ,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 (14): * Single equations (assignments): 14 * 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.0001087/0.356, allocations: 128 kB / 1.227 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.3561, allocations: 8 kB / 1.227 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.959e-05/0.3561, allocations: 16.7 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3561, allocations: 0 / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.3561, allocations: 3.938 kB / 1.227 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3561, allocations: 4.375 kB / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006363/0.3568, allocations: 466.4 kB / 1.227 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/0.3568, allocations: 4.062 kB / 1.227 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.3568, allocations: 11.98 kB / 1.227 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.3568, allocations: 3.938 kB / 1.227 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.3569, allocations: 3.984 kB / 1.227 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3569, allocations: 0 / 1.227 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3569, allocations: 4 kB / 1.227 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004184/0.3573, allocations: 267.3 kB / 1.227 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.776e-05/0.3573, allocations: 89 kB / 1.227 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.3574, allocations: 4 kB / 1.227 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.3575, allocations: 7.984 kB / 1.227 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.094e-05/0.3576, allocations: 7.984 kB / 1.227 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.3576, allocations: 4 kB / 1.227 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.938e-05/0.3577, allocations: 109.3 kB / 1.228 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3577, allocations: 0 / 1.228 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003292/0.358, allocations: 55.81 kB / 1.228 GB, free: 6.23 MB / 0.9825 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 (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.0003364/0.3583, allocations: 160 kB / 1.228 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000331/0.3587, allocations: 107.8 kB / 1.228 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3587, allocations: 4.188 kB / 1.228 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.3588, allocations: 55.95 kB / 1.228 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.3591, allocations: 11.94 kB / 1.228 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005159/0.3596, allocations: 236.2 kB / 1.228 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.3599, allocations: 0.6963 MB / 1.229 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.092e-05/0.3599, allocations: 16 kB / 1.229 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.36, allocations: 11.44 kB / 1.229 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of SimCode: time 5.91e-07/0.36, allocations: 0 / 1.229 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of Templates: time 0.004961/0.3649, allocations: 1.984 MB / 1.231 GB, free: 2.926 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches