Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.001359/0.001359, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001374/0.001374, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.475/1.475, allocations: 225.6 MB / 249.4 MB, free: 3.145 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.772/2.772, 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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 67.88 kB / 1.107 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078/1.08, allocations: 168.7 MB / 1.272 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.003864/1.084, allocations: 1.526 MB / 1.273 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00185/1.086, allocations: 0.7374 MB / 1.274 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.188e-05/1.086, allocations: 0.7188 kB / 1.274 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.513e-05/1.086, allocations: 5.297 kB / 1.274 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.443e-05/1.086, allocations: 16.45 kB / 1.274 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006553/1.087, allocations: 125.5 kB / 1.274 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001541/1.087, allocations: 72.25 kB / 1.274 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/1.087, allocations: 8.797 kB / 1.274 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/1.087, allocations: 39.06 kB / 1.274 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.229e-05/1.087, allocations: 37.08 kB / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/1.087, allocations: 6.312 kB / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002349/1.087, allocations: 109.4 kB / 1.275 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.614e-05/1.087, allocations: 19.39 kB / 1.275 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.968e-05/1.087, allocations: 36.08 kB / 1.275 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002833/1.088, allocations: 138.7 kB / 1.275 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.088, allocations: 2.719 kB / 1.275 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.285e-06/1.088, allocations: 0.8125 kB / 1.275 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.133e-05/1.088, allocations: 0 / 1.275 GB, free: 6.113 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.0006181/1.088, allocations: 422 kB / 1.275 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/1.088, allocations: 10.06 kB / 1.275 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/1.088, allocations: 8.391 kB / 1.275 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.919e-05/1.088, allocations: 175.2 kB / 1.275 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/1.089, allocations: 8.781 kB / 1.275 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/1.089, allocations: 11.8 kB / 1.275 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/1.089, allocations: 69.7 kB / 1.275 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/1.089, allocations: 0 / 1.275 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/1.089, allocations: 4.812 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/1.089, allocations: 4.531 kB / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/1.089, allocations: 35.73 kB / 1.275 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005767/1.089, allocations: 315.2 kB / 1.276 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/1.09, allocations: 46.66 kB / 1.276 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.887e-05/1.09, allocations: 30.94 kB / 1.276 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/1.09, allocations: 2.297 kB / 1.276 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/1.09, allocations: 88.39 kB / 1.276 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/1.09, allocations: 0 / 1.276 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004149/1.09, allocations: 138 kB / 1.276 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/1.09, allocations: 53.25 kB / 1.276 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.669e-05/1.09, allocations: 131.1 kB / 1.276 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/1.09, allocations: 26.95 kB / 1.276 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.076e-05/1.091, allocations: 92.28 kB / 1.276 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/1.091, allocations: 17.44 kB / 1.276 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.951e-05/1.091, allocations: 28.77 kB / 1.276 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.365e-05/1.091, allocations: 322.7 kB / 1.277 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.371e-05/1.091, allocations: 23.33 kB / 1.277 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.35e-05/1.091, allocations: 47.14 kB / 1.277 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/1.091, allocations: 80.59 kB / 1.277 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.091, allocations: 0 / 1.277 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002346/1.091, allocations: 114 kB / 1.277 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/1.091, allocations: 5 kB / 1.277 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/1.091, allocations: 0.8438 kB / 1.277 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/1.091, allocations: 5.094 kB / 1.277 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.737e-05/1.091, allocations: 12.19 kB / 1.277 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/1.091, allocations: 2.094 kB / 1.277 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.564e-05/1.091, allocations: 11.06 kB / 1.277 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/1.091, allocations: 4.25 kB / 1.277 GB, free: 4.121 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,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 7.38e-05/1.092, allocations: 126.5 kB / 1.277 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/1.092, allocations: 7.766 kB / 1.277 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/1.092, allocations: 14.42 kB / 1.277 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/1.092, allocations: 2.5 kB / 1.277 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/1.092, allocations: 0 / 1.277 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/1.092, allocations: 8.844 kB / 1.277 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000404/1.092, allocations: 382.1 kB / 1.278 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.092, allocations: 0.7812 kB / 1.278 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.904e-05/1.092, allocations: 4.328 kB / 1.278 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/1.092, allocations: 1.875 kB / 1.278 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/1.092, allocations: 2.172 kB / 1.278 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/1.092, allocations: 4.844 kB / 1.278 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.092, allocations: 4.406 kB / 1.278 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/1.092, allocations: 211.7 kB / 1.278 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.307e-05/1.092, allocations: 79.92 kB / 1.278 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/1.092, allocations: 3.438 kB / 1.278 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.606e-05/1.092, allocations: 7.766 kB / 1.278 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/1.093, allocations: 16.27 kB / 1.278 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/1.093, allocations: 3.625 kB / 1.278 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.662e-05/1.093, allocations: 91.62 kB / 1.278 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.093, allocations: 3.938 kB / 1.278 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003263/1.093, allocations: 38.08 kB / 1.278 GB, free: 3.258 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,win.occ,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.0004203/1.093, allocations: 164.2 kB / 1.278 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002708/1.094, allocations: 73.44 kB / 1.278 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.094, allocations: 0 / 1.278 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/1.094, allocations: 31.22 kB / 1.278 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/1.094, allocations: 7.484 kB / 1.278 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004575/1.094, allocations: 208.3 kB / 1.278 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/1.095, allocations: 0.6903 MB / 1.279 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.773e-05/1.095, allocations: 5.969 kB / 1.279 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/1.095, allocations: 15.19 kB / 1.279 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/1.095, allocations: 0 / 1.279 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of Templates: time 0.005847/1.1, allocations: 1.466 MB / 1.281 GB, free: 2.09 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0 [Calling sys.exit(0), Time elapsed: 9.427771529182792]