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.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.001853/0.001853, allocations: 113.8 kB / 17.61 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.002195/0.002195, allocations: 186 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.48/1.48, allocations: 225.6 MB / 249.4 MB, free: 3.137 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.895/2.895, allocations: 476.7 MB / 0.7628 GB, free: 15.19 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.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 0.001969/0.001969, allocations: 63.89 kB / 1.107 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.212/1.214, allocations: 168.7 MB / 1.272 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.003102/1.217, allocations: 1.519 MB / 1.273 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001506/1.218, allocations: 0.7506 MB / 1.274 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.092e-05/1.218, allocations: 0 / 1.274 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.046e-05/1.218, allocations: 4.719 kB / 1.274 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6e-05/1.218, allocations: 11.42 kB / 1.274 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006273/1.219, allocations: 120.9 kB / 1.274 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001614/1.219, allocations: 82.77 kB / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/1.219, allocations: 8.891 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/1.219, allocations: 34.45 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.839e-05/1.219, allocations: 46.23 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/1.219, allocations: 6.406 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002668/1.22, allocations: 101.7 kB / 1.275 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.541e-05/1.22, allocations: 18.86 kB / 1.275 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.2e-05/1.22, allocations: 27.16 kB / 1.275 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002954/1.22, allocations: 144.6 kB / 1.275 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/1.22, allocations: 0.7812 kB / 1.275 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.146e-06/1.22, allocations: 4 kB / 1.275 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.594e-06/1.22, allocations: 0 / 1.275 GB, free: 6.105 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007502/1.221, allocations: 426.8 kB / 1.275 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/1.221, allocations: 9.344 kB / 1.275 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.837e-05/1.221, allocations: 9.453 kB / 1.275 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/1.221, allocations: 169.3 kB / 1.275 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/1.221, allocations: 3.156 kB / 1.275 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/1.221, allocations: 5.625 kB / 1.275 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/1.221, allocations: 79.53 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/1.221, allocations: 0 / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/1.221, allocations: 1.75 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/1.221, allocations: 1.406 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/1.222, allocations: 38.88 kB / 1.275 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006588/1.222, allocations: 317.9 kB / 1.276 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/1.222, allocations: 48.09 kB / 1.276 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.679e-05/1.222, allocations: 35.03 kB / 1.276 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/1.222, allocations: 4.812 kB / 1.276 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/1.223, allocations: 78.31 kB / 1.276 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/1.223, allocations: 0.9375 kB / 1.276 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004335/1.223, allocations: 138.6 kB / 1.276 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/1.223, allocations: 57.73 kB / 1.276 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.261e-05/1.223, allocations: 126.9 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/1.223, allocations: 27.73 kB / 1.276 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/1.223, allocations: 91.56 kB / 1.276 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/1.223, allocations: 17.17 kB / 1.276 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/1.223, allocations: 29.42 kB / 1.276 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.22e-05/1.223, allocations: 328.5 kB / 1.277 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.674e-05/1.223, allocations: 25.28 kB / 1.277 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.059e-05/1.224, allocations: 55.84 kB / 1.277 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/1.224, allocations: 82.88 kB / 1.277 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.224, allocations: 1.344 kB / 1.277 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002357/1.224, allocations: 113.2 kB / 1.277 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/1.224, allocations: 4.969 kB / 1.277 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.224, allocations: 2.609 kB / 1.277 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/1.224, allocations: 0.875 kB / 1.277 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/1.224, allocations: 18.06 kB / 1.277 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/1.224, allocations: 5.188 kB / 1.277 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.579e-05/1.224, allocations: 8.031 kB / 1.277 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/1.224, allocations: 8.656 kB / 1.277 GB, free: 4.09 MB / 0.9981 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 8.153e-05/1.224, allocations: 124.6 kB / 1.277 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/1.224, allocations: 7.766 kB / 1.277 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/1.224, allocations: 9.719 kB / 1.277 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/1.224, allocations: 1.281 kB / 1.277 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.224, allocations: 48 / 1.277 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/1.224, allocations: 9.016 kB / 1.277 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/1.225, allocations: 380.1 kB / 1.278 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/1.225, allocations: 0 / 1.278 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.984e-05/1.225, allocations: 5.75 kB / 1.278 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/1.225, allocations: 1.25 kB / 1.278 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/1.225, allocations: 1.438 kB / 1.278 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/1.225, allocations: 4.656 kB / 1.278 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/1.225, allocations: 5.469 kB / 1.278 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/1.225, allocations: 218.7 kB / 1.278 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.661e-05/1.225, allocations: 80.95 kB / 1.278 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/1.225, allocations: 0.875 kB / 1.278 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.489e-05/1.225, allocations: 5.531 kB / 1.278 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/1.225, allocations: 8.469 kB / 1.278 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/1.225, allocations: 6.906 kB / 1.278 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.729e-05/1.225, allocations: 91.72 kB / 1.278 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.225, allocations: 4 kB / 1.278 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003418/1.226, allocations: 38.94 kB / 1.278 GB, free: 3.234 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: 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.0004437/1.226, allocations: 161 kB / 1.278 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002777/1.226, allocations: 74.05 kB / 1.278 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.226, allocations: 0 / 1.278 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/1.227, allocations: 36.56 kB / 1.278 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/1.227, allocations: 6.906 kB / 1.278 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/1.227, allocations: 197.8 kB / 1.278 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/1.227, allocations: 0.6872 MB / 1.279 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.213e-05/1.227, allocations: 9.469 kB / 1.279 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/1.228, allocations: 11.27 kB / 1.279 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/1.228, allocations: 0.8438 kB / 1.279 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of Templates: time 0.005621/1.233, allocations: 1.486 MB / 1.281 GB, free: 2.066 MB / 0.9981 GB " [Timeout remaining time 299] 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] "" Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0 [Calling sys.exit(0), Time elapsed: 9.52795690856874]