Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.001288/0.001288, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001631/0.001631, allocations: 209.7 kB / 22.24 MB, free: 5.262 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.547/1.547, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.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 3.175/3.175, allocations: 475.9 MB / 0.7699 GB, free: 4.816 MB / 0.6231 GB " [Timeout remaining time 176] 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.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") [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.002169/0.002169, allocations: 65.75 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4461/0.4482, allocations: 170 MB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.003184/0.4514, allocations: 1.513 MB / 1.284 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.453, allocations: 0.7497 MB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.327e-05/0.4531, allocations: 4 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.836e-05/0.4531, allocations: 3.938 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.404e-05/0.4532, allocations: 11.86 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006739/0.4539, allocations: 147.5 kB / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.454, allocations: 79.7 kB / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.4541, allocations: 16.11 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.4543, allocations: 39.86 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.129e-05/0.4544, allocations: 47.81 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.4544, allocations: 8 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003255/0.4547, allocations: 131.8 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.138e-05/0.4547, allocations: 19.97 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.929e-05/0.4548, allocations: 27.86 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.4551, allocations: 143.5 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.4551, allocations: 0 / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.973e-06/0.4551, allocations: 0 / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.4551, allocations: 0 / 1.286 GB, free: 9.02 MB / 0.9825 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.0007416/0.4558, allocations: 355.5 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.4559, allocations: 12.03 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003239/0.4562, allocations: 28.91 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.4565, allocations: 142.3 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.4565, allocations: 4.375 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.4565, allocations: 8.375 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.4567, allocations: 65.78 kB / 1.286 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.4567, allocations: 0 / 1.286 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.4567, allocations: 4 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.4567, allocations: 4 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.4569, allocations: 35.97 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000578/0.4574, allocations: 252.4 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.4576, allocations: 46.55 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.688e-05/0.4577, allocations: 32.97 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.4577, allocations: 4 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.4579, allocations: 83.42 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.4579, allocations: 0 / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004514/0.4583, allocations: 145.5 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.4584, allocations: 55.39 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.4585, allocations: 125.8 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.4585, allocations: 29.7 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.433e-05/0.4586, allocations: 96.08 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.4586, allocations: 15.84 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-05/0.4587, allocations: 29.7 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.4588, allocations: 330.8 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.922e-05/0.4589, allocations: 19.98 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.459, allocations: 58.44 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.4592, allocations: 74.48 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4592, allocations: 0 / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002474/0.4594, allocations: 117.5 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.4595, allocations: 4 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4595, allocations: 7.938 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.4595, allocations: 0 / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.562e-05/0.4596, allocations: 15.92 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.4596, allocations: 0 / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.26e-05/0.4597, allocations: 8 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.4597, allocations: 4 kB / 1.288 GB, free: 6.652 MB / 0.9825 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.0001158/0.4598, allocations: 121.8 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.4598, allocations: 12.02 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.4598, allocations: 12.38 kB / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.4598, allocations: 0 / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4598, allocations: 0 / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4598, allocations: 0 / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/0.4603, allocations: 326.1 kB / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4603, allocations: 0 / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.875e-05/0.4604, allocations: 7.984 kB / 1.288 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4604, allocations: 0 / 1.288 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.4604, allocations: 0 / 1.288 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4604, allocations: 4 kB / 1.288 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4604, allocations: 0 / 1.288 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.4607, allocations: 223.3 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.739e-05/0.4607, allocations: 11.89 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.4607, allocations: 4 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.316e-05/0.4608, allocations: 4 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.4608, allocations: 3.984 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.4609, allocations: 7.938 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.133e-05/0.4609, allocations: 95.2 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4609, allocations: 4 kB / 1.289 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003017/0.4612, allocations: 39.92 kB / 1.289 GB, free: 5.727 MB / 0.9825 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.0004353/0.4617, allocations: 175.2 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002483/0.4619, allocations: 63.91 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4619, allocations: 4.125 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.462, allocations: 35.97 kB / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.4623, allocations: 8 kB / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004598/0.4628, allocations: 192.7 kB / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.433e-05/0.4628, allocations: 73.72 kB / 1.289 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.325e-05/0.4629, allocations: 11.92 kB / 1.289 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.4629, allocations: 15.44 kB / 1.289 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.4629, allocations: 0 / 1.289 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of Templates: time 0.005024/0.4679, allocations: 1.508 MB / 1.291 GB, free: 3.633 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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: 9.833418566733599]