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.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.001784/0.001784, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002388/0.002388, allocations: 157.4 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.515/1.515, allocations: 177.2 MB / 203.4 MB, free: 8.945 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.715/2.715, allocations: 359.1 MB / 0.6044 GB, free: 14.87 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.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: 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.003419/0.003419, allocations: 72.19 kB / 0.9515 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3495, allocations: 169.9 MB / 1.117 GB, free: 2.566 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.00264/0.3521, allocations: 1.512 MB / 1.119 GB, free: 1.043 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.3536, allocations: 0.7634 MB / 1.12 GB, free: 280 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.847e-05/0.3536, allocations: 3.938 kB / 1.12 GB, free: 276 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.527e-05/0.3536, allocations: 3.938 kB / 1.12 GB, free: 272 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.297e-05/0.3537, allocations: 15.86 kB / 1.12 GB, free: 256 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005544/0.3543, allocations: 147.5 kB / 1.12 GB, free: 108 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.3544, allocations: 75.77 kB / 1.12 GB, free: 32 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.3545, allocations: 16.17 kB / 1.12 GB, free: 16 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.3547, allocations: 31.92 kB / 1.12 GB, free: 15.98 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.432e-05/0.3548, allocations: 43.81 kB / 1.12 GB, free: 15.94 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.3548, allocations: 8 kB / 1.12 GB, free: 15.93 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003515/0.3552, allocations: 135.8 kB / 1.12 GB, free: 15.8 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.378e-05/0.3552, allocations: 23.91 kB / 1.12 GB, free: 15.78 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.441e-05/0.3553, allocations: 27.86 kB / 1.12 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.3556, allocations: 147.5 kB / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3556, allocations: 0 / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.865e-06/0.3557, allocations: 0 / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.3557, allocations: 0 / 1.12 GB, free: 15.61 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.0008825/0.3565, allocations: 355.5 kB / 1.121 GB, free: 15.22 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.3566, allocations: 8.031 kB / 1.121 GB, free: 15.21 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003619/0.3569, allocations: 28.88 kB / 1.121 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.3572, allocations: 136.8 kB / 1.121 GB, free: 15.03 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.3572, allocations: 4.375 kB / 1.121 GB, free: 15.03 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.3572, allocations: 8.375 kB / 1.121 GB, free: 15.02 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.3574, allocations: 65.78 kB / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3574, allocations: 4 kB / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.3574, allocations: 4 kB / 1.121 GB, free: 14.94 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.3574, allocations: 0 / 1.121 GB, free: 14.94 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.3576, allocations: 39.91 kB / 1.121 GB, free: 14.9 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005484/0.3581, allocations: 248.5 kB / 1.121 GB, free: 14.63 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.3583, allocations: 42.56 kB / 1.121 GB, free: 14.58 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.16e-05/0.3583, allocations: 32.97 kB / 1.121 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.3584, allocations: 7.938 kB / 1.121 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.3585, allocations: 79.38 kB / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.3585, allocations: 0 / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0003984/0.3589, allocations: 145.6 kB / 1.121 GB, free: 14.3 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.359, allocations: 51.41 kB / 1.122 GB, free: 14.23 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.3591, allocations: 130 kB / 1.122 GB, free: 14.09 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.3591, allocations: 25.7 kB / 1.122 GB, free: 14.06 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.3592, allocations: 100.1 kB / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.3592, allocations: 19.78 kB / 1.122 GB, free: 13.94 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.278e-05/0.3592, allocations: 29.7 kB / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3594, allocations: 322.8 kB / 1.122 GB, free: 13.58 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.025e-05/0.3594, allocations: 27.91 kB / 1.122 GB, free: 13.55 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.3596, allocations: 50.56 kB / 1.122 GB, free: 13.5 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.3597, allocations: 70.55 kB / 1.122 GB, free: 13.42 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3597, allocations: 4 kB / 1.122 GB, free: 13.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002444/0.36, allocations: 113.5 kB / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.36, allocations: 6.5 kB / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.36, allocations: 0 / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.36, allocations: 4 kB / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.3601, allocations: 15.92 kB / 1.122 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3601, allocations: 0 / 1.122 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.76e-05/0.3602, allocations: 8 kB / 1.122 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.3602, allocations: 12.06 kB / 1.122 GB, free: 13.25 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 9.842e-05/0.3603, allocations: 117.8 kB / 1.123 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.3603, allocations: 7.953 kB / 1.123 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.398e-05/0.3603, allocations: 16.42 kB / 1.123 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3603, allocations: 0 / 1.123 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3603, allocations: 0 / 1.123 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.3603, allocations: 3.938 kB / 1.123 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.3608, allocations: 334 kB / 1.123 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3608, allocations: 0 / 1.123 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.3608, allocations: 8 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3608, allocations: 3.984 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.3609, allocations: 0 / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3609, allocations: 0 / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.3609, allocations: 0 / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.3612, allocations: 219.3 kB / 1.123 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.3612, allocations: 7.969 kB / 1.123 GB, free: 12.49 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.3612, allocations: 8 kB / 1.123 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.658e-05/0.3613, allocations: 0 / 1.123 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.3613, allocations: 11.98 kB / 1.123 GB, free: 12.47 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.3613, allocations: 7.938 kB / 1.123 GB, free: 12.46 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.174e-05/0.3614, allocations: 92.27 kB / 1.123 GB, free: 12.37 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3614, allocations: 0 / 1.123 GB, free: 12.37 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003023/0.3617, allocations: 39.92 kB / 1.123 GB, free: 12.33 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.0003517/0.3621, allocations: 161.9 kB / 1.123 GB, free: 12.18 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000241/0.3623, allocations: 71.89 kB / 1.123 GB, free: 12.11 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3623, allocations: 0 / 1.123 GB, free: 12.11 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.3624, allocations: 39.91 kB / 1.124 GB, free: 12.07 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.3627, allocations: 8 kB / 1.124 GB, free: 12.07 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.3631, allocations: 184.6 kB / 1.124 GB, free: 11.86 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.492e-05/0.3631, allocations: 83.39 kB / 1.124 GB, free: 11.76 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.482e-05/0.3632, allocations: 7.984 kB / 1.124 GB, free: 11.75 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/0.3632, allocations: 16.44 kB / 1.124 GB, free: 11.73 MB / 1.076 GB Notification: Performance of SimCode: time 3.2e-07/0.3632, allocations: 0 / 1.124 GB, free: 11.73 MB / 1.076 GB Notification: Performance of Templates: time 0.004506/0.3677, allocations: 1.478 MB / 1.125 GB, free: 10.27 MB / 1.076 GB " [Timeout remaining time 300] 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 ida -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/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.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.771691542002372]