Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.002164/0.002164, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002269/0.002269, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.797 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.829/2.829, allocations: 475.9 MB / 0.7699 GB, free: 4.762 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.Zhang2012WindowsWest,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.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,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.Zhang2012WindowsWest") [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.002296/0.002296, allocations: 64.16 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4593/0.4616, allocations: 170 MB / 1.283 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.003075/0.4647, allocations: 1.504 MB / 1.284 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.4663, allocations: 0.7652 MB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.896e-05/0.4664, allocations: 0 / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.066e-05/0.4664, allocations: 7.875 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.445e-05/0.4665, allocations: 7.875 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006711/0.4671, allocations: 147.6 kB / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.4673, allocations: 71.78 kB / 1.285 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.4674, allocations: 16.11 kB / 1.285 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.4676, allocations: 43.91 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.515e-05/0.4676, allocations: 39.83 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.4677, allocations: 8 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003211/0.468, allocations: 139.7 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.27e-05/0.468, allocations: 15.92 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.521e-05/0.4681, allocations: 27.86 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.4684, allocations: 151.5 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.4684, allocations: 0 / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4684, allocations: 0 / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.4684, allocations: 0 / 1.286 GB, free: 8.938 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.0007414/0.4691, allocations: 355.5 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.4692, allocations: 8.031 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003269/0.4695, allocations: 28.88 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.4698, allocations: 134.4 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.4698, allocations: 4.375 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.4698, allocations: 4.375 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.47, allocations: 73.59 kB / 1.286 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.4701, allocations: 0 / 1.286 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.4701, allocations: 0 / 1.286 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.4701, allocations: 4 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.4702, allocations: 47.84 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006079/0.4708, allocations: 256.4 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.471, allocations: 46.5 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.665e-05/0.471, allocations: 28.97 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.4711, allocations: 0 / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.4712, allocations: 87.31 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.4712, allocations: 0 / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.000456/0.4717, allocations: 133.6 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.4717, allocations: 63.47 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.4719, allocations: 123.9 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.4719, allocations: 25.7 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.099e-05/0.472, allocations: 100.1 kB / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.472, allocations: 11.84 kB / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-05/0.4721, allocations: 37.7 kB / 1.287 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.4723, allocations: 318.8 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.4724, allocations: 31.97 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.4725, allocations: 46.5 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.4727, allocations: 74.84 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4727, allocations: 0 / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002466/0.4729, allocations: 113.5 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.4729, allocations: 10.81 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.4729, allocations: 0 / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.473, allocations: 0 / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.4731, allocations: 15.94 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.4731, allocations: 7.984 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.297e-05/0.4731, allocations: 4 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.4731, allocations: 0 / 1.288 GB, free: 6.59 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.0001207/0.4733, allocations: 125.8 kB / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.4733, allocations: 11.89 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.266e-05/0.4733, allocations: 12.36 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.4733, allocations: 0 / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4733, allocations: 0 / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4733, allocations: 4 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005056/0.4738, allocations: 322.1 kB / 1.288 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4738, allocations: 0 / 1.288 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.873e-05/0.4739, allocations: 4 kB / 1.288 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.4739, allocations: 0 / 1.288 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.4739, allocations: 15.98 kB / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4739, allocations: 0 / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4739, allocations: 0 / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.4742, allocations: 211.3 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.275e-05/0.4742, allocations: 19.88 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.4743, allocations: 7.984 kB / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.579e-05/0.4744, allocations: 4 kB / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/0.4744, allocations: 19.84 kB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-06/0.4744, allocations: 0 / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.305e-05/0.4745, allocations: 100.6 kB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4745, allocations: 4 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003163/0.4748, allocations: 35.92 kB / 1.289 GB, free: 5.645 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.0004382/0.4753, allocations: 155.8 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002562/0.4755, allocations: 72.12 kB / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4755, allocations: 4.125 kB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.715e-05/0.4756, allocations: 24.14 kB / 1.289 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.4759, allocations: 18.11 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004873/0.4764, allocations: 188.7 kB / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.4765, allocations: 81.64 kB / 1.289 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.518e-05/0.4765, allocations: 11.98 kB / 1.289 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.4766, allocations: 15.44 kB / 1.289 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.4766, allocations: 0 / 1.289 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of Templates: time 0.005145/0.4817, allocations: 1.517 MB / 1.291 GB, free: 3.551 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.446650464087725]