Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.00171/0.00171, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001952/0.001952, allocations: 191.8 kB / 22.23 MB, free: 5.094 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.555/1.555, allocations: 225.6 MB / 251 MB, free: 13.17 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 2.88/2.88, allocations: 476.7 MB / 0.7646 GB, free: 9.887 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.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.Zhang2012WindowsEast,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.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,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.Zhang2012WindowsEast") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 63.89 kB / 1.11 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.952/0.9541, allocations: 168.8 MB / 1.274 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.003189/0.9573, allocations: 1.529 MB / 1.276 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.9588, allocations: 0.7378 MB / 1.277 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.9589, allocations: 3.938 kB / 1.277 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.234e-05/0.9589, allocations: 3.938 kB / 1.277 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.735e-05/0.959, allocations: 11.92 kB / 1.277 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006021/0.9596, allocations: 127.5 kB / 1.277 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.9597, allocations: 83.75 kB / 1.277 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.9598, allocations: 11.95 kB / 1.277 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.9599, allocations: 35.91 kB / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.971e-05/0.96, allocations: 43.83 kB / 1.277 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.96, allocations: 4 kB / 1.277 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002716/0.9603, allocations: 135.8 kB / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.118e-05/0.9603, allocations: 15.97 kB / 1.277 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.979e-05/0.9604, allocations: 31.8 kB / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.9606, allocations: 153.9 kB / 1.277 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.9606, allocations: 0 / 1.277 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9606, allocations: 0 / 1.277 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.9607, allocations: 0 / 1.277 GB, free: 1.281 MB / 0.9669 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.0007088/0.9614, allocations: 343.6 kB / 1.277 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.9614, allocations: 8.031 kB / 1.278 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.055e-05/0.9615, allocations: 12.83 kB / 1.278 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.9616, allocations: 110.5 kB / 1.278 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.9616, allocations: 12.38 kB / 1.278 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.9616, allocations: 4.375 kB / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.9618, allocations: 69.95 kB / 1.278 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.9618, allocations: 4 kB / 1.278 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.9619, allocations: 3.984 kB / 1.278 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.9619, allocations: 0 / 1.278 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.962, allocations: 39.92 kB / 1.278 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006314/0.9626, allocations: 283.8 kB / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.9627, allocations: 46.55 kB / 1.278 GB, free: 252 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.601e-05/0.9628, allocations: 32.97 kB / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.9629, allocations: 0 / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002318/0.9631, allocations: 83.31 kB / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.9631, allocations: 0 / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004323/0.9635, allocations: 141.6 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.9636, allocations: 55.41 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.9637, allocations: 129.7 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.9637, allocations: 29.7 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.344e-05/0.9638, allocations: 84.14 kB / 1.279 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.9638, allocations: 23.89 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.9639, allocations: 25.72 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.964, allocations: 326.8 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.894e-05/0.9641, allocations: 23.92 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.763e-05/0.9642, allocations: 50.55 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.9643, allocations: 70.56 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.9644, allocations: 0 / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002333/0.9646, allocations: 117.5 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.9646, allocations: 4 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.9646, allocations: 0 / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.9646, allocations: 0 / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.9647, allocations: 23.98 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.9647, allocations: 400 / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.848e-05/0.9648, allocations: 11.92 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.9648, allocations: 8 kB / 1.279 GB, free: 14.94 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.0001105/0.9649, allocations: 120 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.744e-05/0.965, allocations: 7.953 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.204e-05/0.965, allocations: 8.375 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.965, allocations: 0 / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.965, allocations: 7.984 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.965, allocations: 7.938 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/0.9655, allocations: 353.5 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.9655, allocations: 7.922 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.857e-05/0.9655, allocations: 4 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.9655, allocations: 0 / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.9655, allocations: 0 / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.9655, allocations: 0 / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.9655, allocations: 3.938 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.9658, allocations: 219.4 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/0.9659, allocations: 7.953 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.9659, allocations: 0 / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.607e-05/0.966, allocations: 15.97 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.966, allocations: 3.938 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.966, allocations: 7.984 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.608e-05/0.9661, allocations: 91.28 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.9661, allocations: 0 / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003132/0.9664, allocations: 39.92 kB / 1.28 GB, free: 13.97 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.000396/0.9668, allocations: 159.1 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002523/0.967, allocations: 71.89 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.967, allocations: 0 / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.9671, allocations: 39.86 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.9674, allocations: 0 / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004614/0.9679, allocations: 204.6 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.9682, allocations: 0.6925 MB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.597e-05/0.9683, allocations: 4 kB / 1.281 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.124e-05/0.9683, allocations: 7.438 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.9683, allocations: 4 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of Templates: time 0.004994/0.9733, allocations: 1.48 MB / 1.283 GB, free: 11.27 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.383942453190684]