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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002031/0.002031, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 225.6 MB / 249.4 MB, free: 3.293 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.974/2.974, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] 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=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: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 67.89 kB / 1.107 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.098/1.1, allocations: 168.7 MB / 1.272 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.00266/1.103, allocations: 1.616 MB / 1.274 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001306/1.104, allocations: 0.798 MB / 1.274 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.517e-05/1.104, allocations: 0.9375 kB / 1.274 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.552e-05/1.104, allocations: 8.672 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.649e-05/1.104, allocations: 22.36 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005245/1.105, allocations: 147.6 kB / 1.274 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001638/1.105, allocations: 136.4 kB / 1.275 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.98e-05/1.105, allocations: 18.62 kB / 1.275 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.939e-05/1.105, allocations: 67.97 kB / 1.275 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.97e-05/1.105, allocations: 69.23 kB / 1.275 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/1.105, allocations: 11.97 kB / 1.275 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/1.106, allocations: 106.7 kB / 1.275 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.223e-05/1.106, allocations: 36.58 kB / 1.275 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.815e-05/1.106, allocations: 59.91 kB / 1.275 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002809/1.106, allocations: 189.4 kB / 1.275 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/1.106, allocations: 0 / 1.275 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.703e-06/1.106, allocations: 0 / 1.275 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.109e-06/1.106, allocations: 0.6562 kB / 1.275 GB, free: 5.883 MB / 0.9981 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.0006834/1.107, allocations: 480.1 kB / 1.276 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/1.107, allocations: 9.656 kB / 1.276 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.555e-05/1.107, allocations: 14.95 kB / 1.276 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.865e-05/1.107, allocations: 188.3 kB / 1.276 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/1.107, allocations: 13.58 kB / 1.276 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/1.107, allocations: 9.031 kB / 1.276 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/1.107, allocations: 96.08 kB / 1.276 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/1.107, allocations: 0 / 1.276 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/1.107, allocations: 5.344 kB / 1.276 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/1.107, allocations: 1.375 kB / 1.276 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/1.107, allocations: 67.19 kB / 1.276 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007834/1.108, allocations: 369.7 kB / 1.276 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/1.108, allocations: 57.58 kB / 1.276 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/1.108, allocations: 55.16 kB / 1.276 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/1.108, allocations: 1.25 kB / 1.276 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/1.109, allocations: 101.5 kB / 1.277 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/1.109, allocations: 0 / 1.277 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.000544/1.109, allocations: 218.7 kB / 1.277 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/1.109, allocations: 58.06 kB / 1.277 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/1.109, allocations: 149.6 kB / 1.277 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/1.109, allocations: 27.33 kB / 1.277 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/1.109, allocations: 104 kB / 1.277 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/1.109, allocations: 23.75 kB / 1.277 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.727e-05/1.109, allocations: 32.3 kB / 1.277 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.453e-05/1.11, allocations: 326.2 kB / 1.277 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/1.11, allocations: 44.33 kB / 1.277 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/1.11, allocations: 71.8 kB / 1.278 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/1.11, allocations: 120 kB / 1.278 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.11, allocations: 3.938 kB / 1.278 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003199/1.11, allocations: 156.4 kB / 1.278 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/1.11, allocations: 7.969 kB / 1.278 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/1.11, allocations: 0.875 kB / 1.278 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/1.11, allocations: 6.438 kB / 1.278 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/1.111, allocations: 18.38 kB / 1.278 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/1.111, allocations: 9.719 kB / 1.278 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.72e-05/1.111, allocations: 13 kB / 1.278 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/1.111, allocations: 3.875 kB / 1.278 GB, free: 3.66 MB / 0.9981 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 7.842e-05/1.111, allocations: 127.9 kB / 1.278 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/1.111, allocations: 9.141 kB / 1.278 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/1.111, allocations: 17.67 kB / 1.278 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/1.111, allocations: 1.219 kB / 1.278 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.111, allocations: 3.938 kB / 1.278 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/1.111, allocations: 1.062 kB / 1.278 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005601/1.111, allocations: 459.6 kB / 1.278 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/1.111, allocations: 0 / 1.278 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.118e-05/1.111, allocations: 10.22 kB / 1.278 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/1.111, allocations: 5.156 kB / 1.278 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/1.111, allocations: 10.53 kB / 1.278 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/1.111, allocations: 4.594 kB / 1.278 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/1.111, allocations: 0 / 1.278 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003639/1.112, allocations: 261.9 kB / 1.279 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.762e-05/1.112, allocations: 91.16 kB / 1.279 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/1.112, allocations: 8.453 kB / 1.279 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/1.112, allocations: 9.016 kB / 1.279 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/1.112, allocations: 6.969 kB / 1.279 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/1.112, allocations: 12.14 kB / 1.279 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.421e-05/1.112, allocations: 104.8 kB / 1.279 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.112, allocations: 0 / 1.279 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003322/1.112, allocations: 49.72 kB / 1.279 GB, free: 2.742 MB / 0.9981 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.0003396/1.113, allocations: 168 kB / 1.279 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003335/1.113, allocations: 104 kB / 1.279 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.113, allocations: 0.8438 kB / 1.279 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/1.113, allocations: 60.19 kB / 1.279 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/1.113, allocations: 21.44 kB / 1.279 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004525/1.114, allocations: 232.4 kB / 1.28 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/1.114, allocations: 0.6965 MB / 1.28 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.022e-05/1.114, allocations: 12.98 kB / 1.28 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/1.114, allocations: 15.06 kB / 1.28 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of SimCode: time 3.9e-07/1.114, allocations: 0 / 1.28 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of Templates: time 0.005826/1.12, allocations: 1.991 MB / 1.282 GB, free: 1.516 MB / 0.9981 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/jenkins/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: 9.721078298985958]