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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 212.1 kB / 22.99 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.855/2.855, allocations: 476 MB / 0.7707 GB, free: 4.715 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 65.83 kB / 1.118 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3538, allocations: 169.9 MB / 1.284 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.00375/0.3576, allocations: 1.601 MB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001958/0.3595, allocations: 0.8082 MB / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.666e-05/0.3596, allocations: 7.875 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.289e-05/0.3597, allocations: 3.938 kB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.965e-05/0.3598, allocations: 23.73 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008255/0.3606, allocations: 187.5 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.3608, allocations: 135.6 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.3609, allocations: 17.53 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.3611, allocations: 63.81 kB / 1.287 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.3613, allocations: 67.72 kB / 1.287 GB, free: 9 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.373e-05/0.3614, allocations: 12 kB / 1.287 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003342/0.3617, allocations: 143.8 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.165e-05/0.3617, allocations: 31.89 kB / 1.287 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.722e-05/0.3618, allocations: 47.78 kB / 1.287 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004194/0.3622, allocations: 211.2 kB / 1.287 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3622, allocations: 0 / 1.287 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3622, allocations: 0 / 1.287 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.3622, allocations: 0 / 1.287 GB, free: 8.562 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.001001/0.3632, allocations: 413 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3633, allocations: 12.02 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007138/0.364, allocations: 72.8 kB / 1.288 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.3643, allocations: 152.6 kB / 1.288 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.3644, allocations: 4.375 kB / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.3644, allocations: 8.375 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.3647, allocations: 97.88 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3647, allocations: 0 / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.3647, allocations: 11.94 kB / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3647, allocations: 4 kB / 1.288 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.3649, allocations: 59.95 kB / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008571/0.3658, allocations: 296.2 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.366, allocations: 70.53 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.3661, allocations: 52.77 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.3661, allocations: 0 / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000243/0.3664, allocations: 103.3 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.853e-06/0.3664, allocations: 0 / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0006811/0.3671, allocations: 217.4 kB / 1.289 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.3671, allocations: 55.41 kB / 1.289 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.3673, allocations: 156.5 kB / 1.289 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.3674, allocations: 33.7 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.177e-05/0.3674, allocations: 96.38 kB / 1.289 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.3675, allocations: 23.98 kB / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.944e-05/0.3676, allocations: 33.7 kB / 1.289 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.3678, allocations: 330.8 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.3679, allocations: 35.97 kB / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.3681, allocations: 81.7 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.3683, allocations: 120.2 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3683, allocations: 0 / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003795/0.3687, allocations: 145.5 kB / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.3687, allocations: 10.34 kB / 1.29 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3687, allocations: 3.938 kB / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3688, allocations: 4.094 kB / 1.29 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.3689, allocations: 19.98 kB / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3689, allocations: 0 / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.369, allocations: 23.88 kB / 1.29 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.369, allocations: 4 kB / 1.29 GB, free: 5.652 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.0001436/0.3692, allocations: 125.7 kB / 1.29 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.47e-05/0.3692, allocations: 15.94 kB / 1.29 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.3693, allocations: 8.719 kB / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3693, allocations: 8 kB / 1.29 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3693, allocations: 0 / 1.29 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3693, allocations: 0 / 1.29 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000709/0.37, allocations: 402 kB / 1.29 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.37, allocations: 0 / 1.29 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.077e-05/0.37, allocations: 8.094 kB / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.37, allocations: 3.938 kB / 1.29 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.3701, allocations: 4.469 kB / 1.29 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3701, allocations: 0 / 1.29 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3701, allocations: 4 kB / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004851/0.3706, allocations: 287.2 kB / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.669e-05/0.3706, allocations: 15.91 kB / 1.291 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.3706, allocations: 0 / 1.291 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.3707, allocations: 15.98 kB / 1.291 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.954e-05/0.3708, allocations: 3.984 kB / 1.291 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.3708, allocations: 4 kB / 1.291 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001361/0.3709, allocations: 112 kB / 1.291 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3709, allocations: 4 kB / 1.291 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003736/0.3713, allocations: 43.94 kB / 1.291 GB, free: 4.547 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.0004518/0.3718, allocations: 166.3 kB / 1.291 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003549/0.3721, allocations: 108 kB / 1.291 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3721, allocations: 8 kB / 1.291 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.3723, allocations: 59.94 kB / 1.291 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.3726, allocations: 9.484 kB / 1.291 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005992/0.3732, allocations: 258.4 kB / 1.291 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.127e-05/0.3733, allocations: 88.19 kB / 1.291 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.641e-05/0.3733, allocations: 11.44 kB / 1.291 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.3733, allocations: 0 / 1.291 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of Templates: time 0.005365/0.3787, allocations: 2.149 MB / 1.293 GB, free: 1.672 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.740710666868836]