Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.002029/0.002029, allocations: 79.75 kB / 19.18 MB, free: 2.516 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.002514/0.002514, allocations: 162.8 kB / 22.46 MB, free: 5.375 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: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.701/2.701, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 3.938 kB / 0.9509 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.434e-05/2.651e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.003883/0.003909, allocations: 1.521 MB / 0.9524 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00218/0.006089, allocations: 0.7678 MB / 0.9532 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.001e-05/0.006149, allocations: 4 kB / 0.9532 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.405e-05/0.006193, allocations: 7.875 kB / 0.9532 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.217e-05/0.006266, allocations: 3.938 kB / 0.9532 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007941/0.00706, allocations: 155.2 kB / 0.9533 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.00723, allocations: 75.78 kB / 0.9534 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.753e-05/0.007327, allocations: 12.16 kB / 0.9534 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/0.007552, allocations: 55.88 kB / 0.9535 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.957e-05/0.007641, allocations: 23.97 kB / 0.9535 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.007674, allocations: 12 kB / 0.9535 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000435/0.008109, allocations: 143.6 kB / 0.9537 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.769e-05/0.008147, allocations: 19.91 kB / 0.9537 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.025e-05/0.008207, allocations: 23.92 kB / 0.9537 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003859/0.008593, allocations: 171.5 kB / 0.9539 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.008597, allocations: 0 / 0.9539 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.162e-06/0.008598, allocations: 0 / 0.9539 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.008602, allocations: 0 / 0.9539 GB, free: 8.625 MB / 0.8575 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.0008058/0.009408, allocations: 347.5 kB / 0.9542 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.009449, allocations: 12.03 kB / 0.9542 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005361/0.009985, allocations: 32.86 kB / 0.9542 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.01026, allocations: 141.6 kB / 0.9544 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.01029, allocations: 4.375 kB / 0.9544 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.01031, allocations: 4.375 kB / 0.9544 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.01059, allocations: 70.2 kB / 0.9544 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.0106, allocations: 192 / 0.9544 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.01063, allocations: 8.125 kB / 0.9544 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.01063, allocations: 0 / 0.9544 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002014/0.01083, allocations: 39.97 kB / 0.9545 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007945/0.01163, allocations: 244.5 kB / 0.9547 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.01182, allocations: 42.56 kB / 0.9548 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.01195, allocations: 24.97 kB / 0.9548 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.01199, allocations: 7.938 kB / 0.9548 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.01223, allocations: 83.31 kB / 0.9549 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.893e-06/0.01223, allocations: 0 / 0.9549 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0006344/0.01286, allocations: 149.6 kB / 0.955 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/0.01293, allocations: 55.41 kB / 0.9551 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.01308, allocations: 125.5 kB / 0.9552 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.01312, allocations: 29.7 kB / 0.9552 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.374e-05/0.0132, allocations: 92.12 kB / 0.9553 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.01324, allocations: 19.84 kB / 0.9553 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.129e-05/0.01332, allocations: 25.7 kB / 0.9553 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.0135, allocations: 326.8 kB / 0.9557 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.01364, allocations: 23.98 kB / 0.9557 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.01381, allocations: 55.36 kB / 0.9557 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002812/0.01409, allocations: 83.34 kB / 0.9558 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01409, allocations: 0 / 0.9558 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004302/0.01452, allocations: 125.5 kB / 0.9559 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.01454, allocations: 7.984 kB / 0.9559 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.01455, allocations: 4 kB / 0.9559 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.01457, allocations: 0 / 0.9559 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.0147, allocations: 8 kB / 0.956 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.01472, allocations: 11.92 kB / 0.956 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.01484, allocations: 8 kB / 0.956 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.01486, allocations: 4 kB / 0.956 GB, free: 6.25 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.0001384/0.015, allocations: 117.8 kB / 0.9561 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.01503, allocations: 15.92 kB / 0.9561 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.288e-05/0.01507, allocations: 12.42 kB / 0.9561 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.01508, allocations: 4.031 kB / 0.9561 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.01508, allocations: 0 / 0.9561 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01509, allocations: 4 kB / 0.9561 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006719/0.01576, allocations: 326.3 kB / 0.9564 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01576, allocations: 0 / 0.9564 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.799e-05/0.01582, allocations: 7.938 kB / 0.9564 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.01582, allocations: 0 / 0.9564 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.01584, allocations: 7.984 kB / 0.9564 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.01584, allocations: 4 kB / 0.9565 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01584, allocations: 0 / 0.9565 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004705/0.01631, allocations: 215.5 kB / 0.9567 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.443e-05/0.01634, allocations: 15.88 kB / 0.9567 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.01636, allocations: 0 / 0.9567 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.01651, allocations: 4 kB / 0.9567 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.01657, allocations: 7.984 kB / 0.9567 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.01658, allocations: 4 kB / 0.9567 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.06e-05/0.01668, allocations: 95.27 kB / 0.9568 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01668, allocations: 4 kB / 0.9568 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005356/0.01721, allocations: 39.92 kB / 0.9568 GB, free: 5.32 MB / 0.8575 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,occ.y,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.0005273/0.01774, allocations: 165.3 kB / 0.957 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003638/0.0181, allocations: 67.95 kB / 0.957 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.0181, allocations: 4.062 kB / 0.957 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.01827, allocations: 39.97 kB / 0.9571 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.01871, allocations: 6.281 kB / 0.9571 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005446/0.01925, allocations: 173.6 kB / 0.9573 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.199e-05/0.01934, allocations: 71.34 kB / 0.9573 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.192e-05/0.01939, allocations: 3.984 kB / 0.9573 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.676e-05/0.01944, allocations: 16.5 kB / 0.9573 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.01944, allocations: 0 / 0.9573 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of Templates: time 0.00707/0.02651, allocations: 1.495 MB / 0.9588 GB, free: 3.27 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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: 8.068011555820704]