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.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.001769/0.001769, allocations: 110 kB / 18.93 MB, free: 2.945 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.002531/0.002531, allocations: 191.4 kB / 22.23 MB, free: 5.16 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.598/1.598, allocations: 225.6 MB / 251 MB, free: 13.01 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.909/2.909, allocations: 476.7 MB / 0.7646 GB, free: 9.848 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.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: Performance of FrontEnd - loaded program: time 0.002779/0.002779, allocations: 67.89 kB / 1.11 GB, free: 6.301 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9544/0.9572, allocations: 168.8 MB / 1.274 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.003309/0.9605, allocations: 1.514 MB / 1.276 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.9621, allocations: 0.7455 MB / 1.277 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.504e-05/0.9622, allocations: 3.938 kB / 1.277 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.544e-05/0.9622, allocations: 3.938 kB / 1.277 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.526e-05/0.9623, allocations: 11.86 kB / 1.277 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007461/0.963, allocations: 131.6 kB / 1.277 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.9632, allocations: 79.77 kB / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.9633, allocations: 11.95 kB / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.9634, allocations: 35.91 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.209e-05/0.9635, allocations: 43.83 kB / 1.277 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.9635, allocations: 7.938 kB / 1.277 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000328/0.9639, allocations: 135.8 kB / 1.277 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.285e-05/0.9639, allocations: 11.98 kB / 1.277 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.409e-05/0.9639, allocations: 31.8 kB / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.9643, allocations: 153.9 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.9643, allocations: 4 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9643, allocations: 0 / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.9643, allocations: 0 / 1.277 GB, free: 1.242 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.000717/0.965, allocations: 339.6 kB / 1.277 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.965, allocations: 12.02 kB / 1.278 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.571e-05/0.9651, allocations: 8.891 kB / 1.278 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.9652, allocations: 114.4 kB / 1.278 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.9652, allocations: 8.375 kB / 1.278 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.9653, allocations: 8.375 kB / 1.278 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.9655, allocations: 69.97 kB / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.9655, allocations: 0 / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.9655, allocations: 4 kB / 1.278 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.9655, allocations: 0 / 1.278 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.9656, allocations: 39.91 kB / 1.278 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006565/0.9663, allocations: 287.8 kB / 1.278 GB, free: 268 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.9664, allocations: 50.48 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.333e-05/0.9665, allocations: 32.97 kB / 1.278 GB, free: 172 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.9665, allocations: 0 / 1.278 GB, free: 172 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/0.9668, allocations: 83.31 kB / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.9668, allocations: 4 kB / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004507/0.9672, allocations: 133.6 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.9673, allocations: 55.41 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.9674, allocations: 125.8 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.9674, allocations: 29.7 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.9675, allocations: 84.14 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.9675, allocations: 19.97 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.157e-05/0.9676, allocations: 33.7 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.9677, allocations: 334.6 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.194e-05/0.9678, allocations: 19.98 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.9679, allocations: 50.55 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.9681, allocations: 70.56 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.9681, allocations: 0 / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002659/0.9683, allocations: 113.5 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.9684, allocations: 4 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.9684, allocations: 3.938 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.9684, allocations: 4 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.9685, allocations: 11.98 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.9685, allocations: 4.062 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.062e-05/0.9686, allocations: 11.94 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.9686, allocations: 7.984 kB / 1.279 GB, free: 14.9 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.0001086/0.9687, allocations: 121.7 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.9687, allocations: 7.953 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.648e-05/0.9687, allocations: 8.375 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.9687, allocations: 0 / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.9688, allocations: 8 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.9688, allocations: 7.938 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005316/0.9693, allocations: 353.5 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.9693, allocations: 0 / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.365e-05/0.9693, allocations: 7.984 kB / 1.28 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.9693, allocations: 0 / 1.28 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.9694, allocations: 4 kB / 1.28 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.9694, allocations: 0 / 1.28 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.9694, allocations: 3.938 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.9697, allocations: 211.4 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.653e-05/0.9697, allocations: 7.953 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.9697, allocations: 0 / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.093e-05/0.9698, allocations: 8 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.9698, allocations: 7.922 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.9698, allocations: 4 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.471e-05/0.9699, allocations: 95.27 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.9699, allocations: 0 / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003281/0.9702, allocations: 39.92 kB / 1.28 GB, free: 13.94 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.0004737/0.9707, allocations: 170.1 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002613/0.971, allocations: 71.95 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.971, allocations: 0 / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.9711, allocations: 39.91 kB / 1.28 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.9714, allocations: 8.797 kB / 1.28 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005013/0.9719, allocations: 192.7 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.9722, allocations: 0.6885 MB / 1.281 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.451e-05/0.9722, allocations: 7.984 kB / 1.281 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.9722, allocations: 7.438 kB / 1.281 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of SimCode: time 7.61e-07/0.9722, allocations: 4 kB / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of Templates: time 0.005284/0.9775, allocations: 1.482 MB / 1.283 GB, free: 11.24 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.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.423034825362265]