Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.001689/0.001689, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001813/0.001813, allocations: 159.1 kB / 23.01 MB, free: 4.602 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.518/1.518, allocations: 177.2 MB / 203.4 MB, free: 8.906 MB / 190.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.741/2.741, allocations: 359.1 MB / 0.6044 GB, free: 14.9 MB / 0.5762 GB " [Timeout remaining time 177] 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.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") [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.002151/0.002151, allocations: 63.91 kB / 0.9515 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3678, allocations: 169.9 MB / 1.117 GB, free: 2.605 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.00329/0.3711, allocations: 1.527 MB / 1.119 GB, free: 1.066 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.3727, allocations: 0.7518 MB / 1.12 GB, free: 316 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.741e-05/0.3727, allocations: 3.938 kB / 1.12 GB, free: 312 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.75e-05/0.3728, allocations: 11.92 kB / 1.12 GB, free: 300 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.046e-05/0.3728, allocations: 15.86 kB / 1.12 GB, free: 284 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006838/0.3735, allocations: 139.6 kB / 1.12 GB, free: 144 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.3737, allocations: 83.75 kB / 1.12 GB, free: 60 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.848e-05/0.3738, allocations: 4.188 kB / 1.12 GB, free: 56 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.3739, allocations: 43.78 kB / 1.12 GB, free: 12 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.596e-05/0.374, allocations: 35.98 kB / 1.12 GB, free: 15.97 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.374, allocations: 4 kB / 1.12 GB, free: 15.97 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003247/0.3743, allocations: 135.8 kB / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.84e-05/0.3744, allocations: 31.89 kB / 1.12 GB, free: 15.8 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.369e-05/0.3744, allocations: 27.86 kB / 1.12 GB, free: 15.78 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002916/0.3747, allocations: 147.4 kB / 1.12 GB, free: 15.64 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3747, allocations: 4 kB / 1.12 GB, free: 15.63 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3747, allocations: 0 / 1.12 GB, free: 15.63 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3747, allocations: 0 / 1.12 GB, free: 15.63 MB / 1.076 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.0007049/0.3754, allocations: 343.6 kB / 1.121 GB, free: 15.26 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3755, allocations: 12.02 kB / 1.121 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003768/0.3759, allocations: 32.88 kB / 1.121 GB, free: 15.22 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.3761, allocations: 134.4 kB / 1.121 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.3761, allocations: 8.375 kB / 1.121 GB, free: 15.05 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.3762, allocations: 8.312 kB / 1.121 GB, free: 15.05 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.3764, allocations: 65.78 kB / 1.121 GB, free: 14.98 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3764, allocations: 3.938 kB / 1.121 GB, free: 14.97 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.3764, allocations: 4 kB / 1.121 GB, free: 14.97 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3764, allocations: 4 kB / 1.121 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.3765, allocations: 39.97 kB / 1.121 GB, free: 14.93 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005848/0.3771, allocations: 240.5 kB / 1.121 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.3773, allocations: 46.55 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.612e-05/0.3773, allocations: 28.97 kB / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.3774, allocations: 7.938 kB / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.3775, allocations: 79.44 kB / 1.121 GB, free: 14.48 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 3.537e-06/0.3775, allocations: 4 kB / 1.121 GB, free: 14.47 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0004267/0.378, allocations: 141.6 kB / 1.121 GB, free: 14.33 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.378, allocations: 55.41 kB / 1.122 GB, free: 14.26 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.3781, allocations: 128.5 kB / 1.122 GB, free: 14.12 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.3781, allocations: 29.7 kB / 1.122 GB, free: 14.09 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.579e-05/0.3782, allocations: 92.08 kB / 1.122 GB, free: 14 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.3782, allocations: 23.83 kB / 1.122 GB, free: 13.97 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.482e-05/0.3783, allocations: 21.72 kB / 1.122 GB, free: 13.95 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3784, allocations: 326.8 kB / 1.122 GB, free: 13.62 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.801e-05/0.3785, allocations: 31.92 kB / 1.122 GB, free: 13.59 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.3786, allocations: 50.55 kB / 1.122 GB, free: 13.53 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.3788, allocations: 70.55 kB / 1.122 GB, free: 13.45 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3788, allocations: 3.938 kB / 1.122 GB, free: 13.45 MB / 1.076 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002612/0.3791, allocations: 113.5 kB / 1.122 GB, free: 13.33 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3791, allocations: 4.062 kB / 1.122 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3791, allocations: 4 kB / 1.122 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.3791, allocations: 4 kB / 1.122 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.499e-05/0.3792, allocations: 15.92 kB / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3792, allocations: 0 / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.853e-05/0.3793, allocations: 7.984 kB / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.3793, allocations: 4 kB / 1.122 GB, free: 13.29 MB / 1.076 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.0001095/0.3794, allocations: 117.8 kB / 1.123 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.3794, allocations: 11.95 kB / 1.123 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.89e-05/0.3795, allocations: 12.38 kB / 1.123 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3795, allocations: 8 kB / 1.123 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3795, allocations: 0 / 1.123 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3795, allocations: 3.984 kB / 1.123 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004952/0.38, allocations: 330 kB / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.38, allocations: 0 / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.414e-05/0.38, allocations: 8 kB / 1.123 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.38, allocations: 0 / 1.123 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.38, allocations: 0 / 1.123 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.38, allocations: 3.984 kB / 1.123 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.38, allocations: 7.938 kB / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.3804, allocations: 219.4 kB / 1.123 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-06/0.3804, allocations: 0 / 1.123 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.3804, allocations: 4 kB / 1.123 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.966e-05/0.3805, allocations: 3.984 kB / 1.123 GB, free: 12.51 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.3805, allocations: 4 kB / 1.123 GB, free: 12.51 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.3806, allocations: 7.922 kB / 1.123 GB, free: 12.5 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.655e-05/0.3806, allocations: 99.27 kB / 1.123 GB, free: 12.4 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3806, allocations: 0 / 1.123 GB, free: 12.4 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003296/0.381, allocations: 35.94 kB / 1.123 GB, free: 12.37 MB / 1.076 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.00045/0.3814, allocations: 162.8 kB / 1.123 GB, free: 12.22 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002632/0.3817, allocations: 75.88 kB / 1.123 GB, free: 12.14 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3817, allocations: 0 / 1.123 GB, free: 12.14 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.3818, allocations: 32.05 kB / 1.124 GB, free: 12.11 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.3821, allocations: 16.2 kB / 1.124 GB, free: 12.1 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004774/0.3825, allocations: 188.6 kB / 1.124 GB, free: 11.89 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.466e-05/0.3826, allocations: 83.2 kB / 1.124 GB, free: 11.79 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.581e-05/0.3827, allocations: 4 kB / 1.124 GB, free: 11.78 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.3827, allocations: 16.48 kB / 1.124 GB, free: 11.77 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.3827, allocations: 4 kB / 1.124 GB, free: 11.76 MB / 1.076 GB Notification: Performance of Templates: time 0.00506/0.3878, allocations: 1.482 MB / 1.125 GB, free: 10.3 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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: 8.787023673998192]