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.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.001802/0.001802, allocations: 84.67 kB / 19.76 MB, free: 2.023 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.002347/0.002347, allocations: 158.1 kB / 23.01 MB, free: 4.961 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.471/1.471, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.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.759/2.759, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 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.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: 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.002251/0.002251, allocations: 67.88 kB / 0.9515 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3423, allocations: 169.9 MB / 1.117 GB, free: 2.598 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002838/0.3452, allocations: 1.516 MB / 1.119 GB, free: 1.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.3467, allocations: 0.7634 MB / 1.12 GB, free: 308 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.3467, allocations: 4 kB / 1.12 GB, free: 304 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.006e-05/0.3468, allocations: 3.938 kB / 1.12 GB, free: 300 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.007e-05/0.3468, allocations: 7.875 kB / 1.12 GB, free: 292 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006174/0.3474, allocations: 151.5 kB / 1.12 GB, free: 140 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.3476, allocations: 75.78 kB / 1.12 GB, free: 64 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.879e-05/0.3477, allocations: 16.11 kB / 1.12 GB, free: 48 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.3478, allocations: 35.91 kB / 1.12 GB, free: 12 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.3479, allocations: 39.81 kB / 1.12 GB, free: 15.97 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.3479, allocations: 8 kB / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002983/0.3482, allocations: 139.8 kB / 1.12 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.753e-05/0.3482, allocations: 15.98 kB / 1.12 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.825e-05/0.3483, allocations: 31.84 kB / 1.12 GB, free: 15.78 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.3485, allocations: 147.5 kB / 1.12 GB, free: 15.64 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3485, allocations: 0 / 1.12 GB, free: 15.64 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3486, allocations: 0 / 1.12 GB, free: 15.64 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.3486, allocations: 0 / 1.12 GB, free: 15.64 MB / 1.076 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.0006827/0.3492, allocations: 355.5 kB / 1.121 GB, free: 15.25 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3493, allocations: 12.03 kB / 1.121 GB, free: 15.24 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003371/0.3496, allocations: 24.88 kB / 1.121 GB, free: 15.22 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.3499, allocations: 138.3 kB / 1.121 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.3499, allocations: 8.375 kB / 1.121 GB, free: 15.05 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.3499, allocations: 4.375 kB / 1.121 GB, free: 15.05 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.3501, allocations: 77.77 kB / 1.121 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3501, allocations: 0 / 1.121 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.3501, allocations: 0 / 1.121 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.3501, allocations: 0 / 1.121 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.3503, allocations: 35.97 kB / 1.121 GB, free: 14.93 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005592/0.3508, allocations: 256.4 kB / 1.121 GB, free: 14.65 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.351, allocations: 42.56 kB / 1.121 GB, free: 14.6 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.497e-05/0.3511, allocations: 32.97 kB / 1.121 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.3511, allocations: 0 / 1.121 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.3512, allocations: 75.38 kB / 1.121 GB, free: 14.48 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.3512, allocations: 0 / 1.121 GB, free: 14.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0004156/0.3517, allocations: 149.6 kB / 1.121 GB, free: 14.32 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.3517, allocations: 55.41 kB / 1.122 GB, free: 14.26 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.3518, allocations: 126 kB / 1.122 GB, free: 14.12 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.3519, allocations: 33.7 kB / 1.122 GB, free: 14.08 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.61e-05/0.3519, allocations: 88.12 kB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.352, allocations: 23.78 kB / 1.122 GB, free: 13.97 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/0.352, allocations: 29.7 kB / 1.122 GB, free: 13.93 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3522, allocations: 322.8 kB / 1.122 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.659e-05/0.3522, allocations: 31.91 kB / 1.122 GB, free: 13.58 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.491e-05/0.3523, allocations: 42.56 kB / 1.122 GB, free: 13.53 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.3525, allocations: 78.48 kB / 1.122 GB, free: 13.44 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3525, allocations: 0 / 1.122 GB, free: 13.44 MB / 1.076 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002446/0.3528, allocations: 113.5 kB / 1.122 GB, free: 13.32 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3528, allocations: 7.125 kB / 1.122 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3528, allocations: 4 kB / 1.122 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3528, allocations: 0 / 1.122 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.152e-05/0.3529, allocations: 11.98 kB / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3529, allocations: 8 kB / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.351e-05/0.353, allocations: 8 kB / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.353, allocations: 4 kB / 1.122 GB, free: 13.29 MB / 1.076 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 0.0001027/0.3531, allocations: 121.8 kB / 1.123 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.3531, allocations: 3.953 kB / 1.123 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.3531, allocations: 16.42 kB / 1.123 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3531, allocations: 4 kB / 1.123 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3531, allocations: 0 / 1.123 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3531, allocations: 0 / 1.123 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004686/0.3536, allocations: 338 kB / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3536, allocations: 0 / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-05/0.3536, allocations: 4 kB / 1.123 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.3537, allocations: 3.984 kB / 1.123 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.3537, allocations: 0 / 1.123 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3537, allocations: 0 / 1.123 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3537, allocations: 4 kB / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.354, allocations: 215.4 kB / 1.123 GB, free: 12.53 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.294e-05/0.354, allocations: 7.984 kB / 1.123 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.354, allocations: 7.938 kB / 1.123 GB, free: 12.51 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.693e-05/0.3541, allocations: 7.938 kB / 1.123 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.3541, allocations: 7.984 kB / 1.123 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.3541, allocations: 7.938 kB / 1.123 GB, free: 12.49 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.344e-05/0.3542, allocations: 91.77 kB / 1.123 GB, free: 12.4 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3542, allocations: 0 / 1.123 GB, free: 12.4 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003039/0.3545, allocations: 43.92 kB / 1.123 GB, free: 12.36 MB / 1.076 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.0003712/0.3549, allocations: 162.8 kB / 1.123 GB, free: 12.2 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.3551, allocations: 67.89 kB / 1.123 GB, free: 12.14 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3551, allocations: 4 kB / 1.123 GB, free: 12.13 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.517e-05/0.3552, allocations: 31.97 kB / 1.124 GB, free: 12.1 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.3555, allocations: 8 kB / 1.124 GB, free: 12.09 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000422/0.3559, allocations: 192.7 kB / 1.124 GB, free: 11.88 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.071e-05/0.356, allocations: 81.45 kB / 1.124 GB, free: 11.78 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.791e-05/0.356, allocations: 7.984 kB / 1.124 GB, free: 11.77 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.356, allocations: 12.5 kB / 1.124 GB, free: 11.76 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/0.356, allocations: 0 / 1.124 GB, free: 11.76 MB / 1.076 GB Notification: Performance of Templates: time 0.004904/0.361, allocations: 1.485 MB / 1.125 GB, free: 10.29 MB / 1.076 GB " [Timeout remaining time 300] 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 -s ida -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/jenkins1/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.continuous,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: 8.814061859040521]