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.001655/0.001655, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001925/0.001925, allocations: 191.2 kB / 22.17 MB, free: 5.656 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.515/1.515, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.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.828/2.828, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 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.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.002021/0.002021, allocations: 67.89 kB / 1.109 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8539/0.8559, allocations: 168.7 MB / 1.274 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.003454/0.8594, allocations: 1.519 MB / 1.276 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001642/0.861, allocations: 0.7494 MB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.389e-05/0.8611, allocations: 4 kB / 1.276 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.321e-05/0.8611, allocations: 7.922 kB / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.356e-05/0.8612, allocations: 7.875 kB / 1.276 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006638/0.8619, allocations: 119.6 kB / 1.276 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.862, allocations: 75.78 kB / 1.276 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.8621, allocations: 11.94 kB / 1.276 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.8622, allocations: 39.84 kB / 1.277 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.36e-05/0.8623, allocations: 43.84 kB / 1.277 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.8623, allocations: 4 kB / 1.277 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000223/0.8626, allocations: 107.9 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.721e-05/0.8626, allocations: 15.98 kB / 1.277 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.649e-05/0.8627, allocations: 31.8 kB / 1.277 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.8629, allocations: 142.2 kB / 1.277 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8629, allocations: 4 kB / 1.277 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8629, allocations: 0 / 1.277 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.8629, allocations: 0 / 1.277 GB, free: 1.621 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.0008061/0.8637, allocations: 420.8 kB / 1.277 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.8638, allocations: 12.02 kB / 1.277 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.25e-05/0.8638, allocations: 8.891 kB / 1.277 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.864, allocations: 176.3 kB / 1.277 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.864, allocations: 384 / 1.277 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.864, allocations: 4.375 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.8642, allocations: 73.97 kB / 1.278 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.8642, allocations: 0 / 1.278 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.8642, allocations: 3.938 kB / 1.278 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.8643, allocations: 4 kB / 1.278 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.8644, allocations: 35.97 kB / 1.278 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006539/0.865, allocations: 316.8 kB / 1.278 GB, free: 452 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.8652, allocations: 42.56 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.743e-05/0.8653, allocations: 32.97 kB / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.8653, allocations: 3.938 kB / 1.278 GB, free: 360 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002194/0.8655, allocations: 83.38 kB / 1.278 GB, free: 264 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.8655, allocations: 0 / 1.278 GB, free: 264 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004248/0.8659, allocations: 137.6 kB / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.866, allocations: 55.41 kB / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.8661, allocations: 133.7 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.8662, allocations: 25.7 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.8662, allocations: 92.14 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.8663, allocations: 15.83 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-05/0.8663, allocations: 25.72 kB / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.8665, allocations: 330.7 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-05/0.8666, allocations: 27.98 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.8667, allocations: 50.55 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.8669, allocations: 78.83 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.8669, allocations: 0 / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002592/0.8671, allocations: 113.5 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.8671, allocations: 5.719 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.8671, allocations: 0 / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.8672, allocations: 7.984 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.8673, allocations: 12 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.8673, allocations: 0 / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.839e-05/0.8673, allocations: 7.984 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.8674, allocations: 4 kB / 1.279 GB, free: 15.08 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.0001217/0.8675, allocations: 125.8 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.8675, allocations: 7.953 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.8675, allocations: 8.375 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.8675, allocations: 15.86 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.8675, allocations: 0 / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.8675, allocations: 3.984 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005182/0.8681, allocations: 382.4 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.8681, allocations: 0 / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.8681, allocations: 8 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.8681, allocations: 0 / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.8681, allocations: 0 / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.8681, allocations: 8 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.8681, allocations: 11.86 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.8684, allocations: 199.5 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.8685, allocations: 85.06 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.8685, allocations: 4 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.071e-05/0.8686, allocations: 7.984 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.8686, allocations: 3.938 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.8687, allocations: 7.984 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.119e-05/0.8687, allocations: 87.28 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8687, allocations: 0 / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003044/0.869, allocations: 39.92 kB / 1.28 GB, free: 13.99 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.0004015/0.8694, allocations: 165.7 kB / 1.28 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002503/0.8697, allocations: 67.89 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.8697, allocations: 4 kB / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.83e-05/0.8698, allocations: 36.25 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.87, allocations: 8.281 kB / 1.28 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004568/0.8705, allocations: 204.2 kB / 1.281 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.8708, allocations: 0.6885 MB / 1.281 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.445e-05/0.8709, allocations: 4 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.8709, allocations: 11.44 kB / 1.281 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.8709, allocations: 0 / 1.281 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of Templates: time 0.004856/0.8757, allocations: 1.471 MB / 1.283 GB, free: 11.3 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.099750204011798]