Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.001359/0.001359, 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.001434/0.001434, allocations: 194.2 kB / 22.17 MB, free: 5.652 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.477/1.477, allocations: 225.6 MB / 250.9 MB, free: 13.3 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.951/2.951, allocations: 476.7 MB / 0.7645 GB, free: 10.11 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.Zhang2012WindowsAll,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.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,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.Zhang2012WindowsAll") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 67.89 kB / 1.109 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8491/0.8513, allocations: 168.7 MB / 1.274 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002753/0.8541, allocations: 1.522 MB / 1.276 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.8554, allocations: 0.7377 MB / 1.276 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.728e-05/0.8554, allocations: 11.94 kB / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.179e-05/0.8555, allocations: 3.938 kB / 1.276 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.956e-05/0.8555, allocations: 11.86 kB / 1.276 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005342/0.8561, allocations: 119.6 kB / 1.276 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.8562, allocations: 75.77 kB / 1.276 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.511e-05/0.8563, allocations: 19.92 kB / 1.276 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.516e-05/0.8564, allocations: 31.92 kB / 1.276 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.481e-05/0.8564, allocations: 39.83 kB / 1.277 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.8565, allocations: 4 kB / 1.277 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000214/0.8567, allocations: 111.8 kB / 1.277 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.733e-05/0.8567, allocations: 15.98 kB / 1.277 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.193e-05/0.8567, allocations: 35.8 kB / 1.277 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.857, allocations: 146.2 kB / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.857, allocations: 0 / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.232e-06/0.857, allocations: 0 / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.857, allocations: 0 / 1.277 GB, free: 1.73 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.0006879/0.8577, allocations: 416.8 kB / 1.277 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.8577, allocations: 12.03 kB / 1.277 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.8578, allocations: 12.89 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.8579, allocations: 176.3 kB / 1.277 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.8579, allocations: 4.375 kB / 1.277 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.858, allocations: 4.375 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.8582, allocations: 69.97 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.8582, allocations: 0 / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.8582, allocations: 4 kB / 1.278 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.8582, allocations: 3.984 kB / 1.278 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.8583, allocations: 47.91 kB / 1.278 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006184/0.8589, allocations: 308.8 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.8591, allocations: 46.48 kB / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.637e-05/0.8592, allocations: 28.97 kB / 1.278 GB, free: 472 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.8592, allocations: 8.062 kB / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001936/0.8594, allocations: 83.31 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.8594, allocations: 0 / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004083/0.8598, allocations: 133.8 kB / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.8598, allocations: 59.34 kB / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.86, allocations: 137.7 kB / 1.278 GB, free: 8 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.945e-05/0.86, allocations: 25.7 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.8601, allocations: 88.14 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.8601, allocations: 15.89 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.8601, allocations: 33.7 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.8603, allocations: 322.8 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-05/0.8604, allocations: 27.92 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.8605, allocations: 50.55 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.8606, allocations: 70.62 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.8606, allocations: 0 / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002581/0.8609, allocations: 113.5 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.8609, allocations: 8.062 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.8609, allocations: 4 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.8609, allocations: 3.938 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.861, allocations: 11.98 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.861, allocations: 0 / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.154e-05/0.8611, allocations: 11.98 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.8611, allocations: 4 kB / 1.279 GB, free: 15.18 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.0001015/0.8612, allocations: 125.1 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.8613, allocations: 11.95 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.307e-05/0.8613, allocations: 8.375 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.8613, allocations: 4 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.8613, allocations: 0 / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.8613, allocations: 3.984 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004842/0.8618, allocations: 382.3 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.8618, allocations: 0 / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.8618, allocations: 7.984 kB / 1.28 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.8618, allocations: 4 kB / 1.28 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.8618, allocations: 4 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.8618, allocations: 4 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.8619, allocations: 7.938 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.8621, allocations: 203.4 kB / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.966e-05/0.8622, allocations: 85.06 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.8622, allocations: 0 / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.412e-05/0.8623, allocations: 15.98 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.8624, allocations: 7.875 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.8624, allocations: 4 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.873e-05/0.8624, allocations: 91.27 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8624, allocations: 0 / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003054/0.8627, allocations: 39.92 kB / 1.28 GB, free: 14.09 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.0003632/0.8631, allocations: 164.8 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002533/0.8633, allocations: 68.12 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.8633, allocations: 4 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.8635, allocations: 40.05 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.8637, allocations: 6.031 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004257/0.8641, allocations: 200.3 kB / 1.281 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.8645, allocations: 0.6911 MB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.635e-05/0.8645, allocations: 7.984 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.8645, allocations: 11.44 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.8645, allocations: 0 / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of Templates: time 0.004543/0.8691, allocations: 1.468 MB / 1.283 GB, free: 11.4 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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: 8.966488159261644]