Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.001845/0.001845, allocations: 77.7 kB / 19.76 MB, free: 2.031 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.002061/0.002061, allocations: 157.9 kB / 23.01 MB, free: 4.945 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.559/1.559, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.637/2.637, allocations: 359.1 MB / 0.6044 GB, free: 14.85 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.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") [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.002085/0.002085, allocations: 67.89 kB / 0.9515 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3474, allocations: 169.9 MB / 1.117 GB, free: 2.539 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.003222/0.3506, allocations: 1.52 MB / 1.119 GB, free: 1.008 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.3523, allocations: 0.7558 MB / 1.12 GB, free: 252 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.177e-05/0.3523, allocations: 3.938 kB / 1.12 GB, free: 248 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/0.3524, allocations: 7.875 kB / 1.12 GB, free: 240 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.096e-05/0.3524, allocations: 15.86 kB / 1.12 GB, free: 224 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006666/0.3531, allocations: 147.5 kB / 1.12 GB, free: 76 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000137/0.3532, allocations: 75.83 kB / 1.12 GB, free: 0 / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3533, allocations: 8.266 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.3535, allocations: 43.75 kB / 1.12 GB, free: 15.95 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.734e-05/0.3536, allocations: 35.84 kB / 1.12 GB, free: 15.91 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.3536, allocations: 8 kB / 1.12 GB, free: 15.91 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003284/0.3539, allocations: 135.8 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.346e-05/0.3539, allocations: 19.92 kB / 1.12 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.77e-05/0.354, allocations: 27.86 kB / 1.12 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000307/0.3543, allocations: 151.5 kB / 1.12 GB, free: 15.58 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3543, allocations: 0 / 1.12 GB, free: 15.58 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3543, allocations: 0 / 1.12 GB, free: 15.58 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.3543, allocations: 7.984 kB / 1.12 GB, free: 15.57 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.0006495/0.355, allocations: 347.5 kB / 1.121 GB, free: 15.2 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.355, allocations: 8.031 kB / 1.121 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003587/0.3554, allocations: 32.86 kB / 1.121 GB, free: 15.16 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.3556, allocations: 126.4 kB / 1.121 GB, free: 15.01 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.3556, allocations: 8.375 kB / 1.121 GB, free: 15 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.3556, allocations: 4.375 kB / 1.121 GB, free: 15 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.3558, allocations: 77.7 kB / 1.121 GB, free: 14.91 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.3559, allocations: 0 / 1.121 GB, free: 14.91 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.3559, allocations: 8 kB / 1.121 GB, free: 14.91 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3559, allocations: 0 / 1.121 GB, free: 14.91 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.356, allocations: 35.97 kB / 1.121 GB, free: 14.87 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005603/0.3566, allocations: 252.4 kB / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.3567, allocations: 46.5 kB / 1.121 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.441e-05/0.3568, allocations: 32.97 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.3568, allocations: 4 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.357, allocations: 79.36 kB / 1.121 GB, free: 14.41 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.357, allocations: 0 / 1.121 GB, free: 14.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0004088/0.3574, allocations: 141.6 kB / 1.121 GB, free: 14.27 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.3574, allocations: 59.34 kB / 1.122 GB, free: 14.2 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.3576, allocations: 122 kB / 1.122 GB, free: 14.06 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.3576, allocations: 37.69 kB / 1.122 GB, free: 14.02 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.813e-05/0.3576, allocations: 88.14 kB / 1.122 GB, free: 13.93 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.3577, allocations: 19.91 kB / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.3577, allocations: 29.7 kB / 1.122 GB, free: 13.88 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3579, allocations: 326.8 kB / 1.122 GB, free: 13.55 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.91e-05/0.358, allocations: 23.98 kB / 1.122 GB, free: 13.52 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.3581, allocations: 54.44 kB / 1.122 GB, free: 13.46 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.3582, allocations: 78.48 kB / 1.122 GB, free: 13.38 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3582, allocations: 0 / 1.122 GB, free: 13.38 MB / 1.076 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002548/0.3585, allocations: 113.5 kB / 1.122 GB, free: 13.26 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3585, allocations: 4 kB / 1.122 GB, free: 13.25 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3585, allocations: 0 / 1.122 GB, free: 13.25 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3585, allocations: 4 kB / 1.122 GB, free: 13.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.305e-05/0.3586, allocations: 11.98 kB / 1.122 GB, free: 13.24 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3586, allocations: 0 / 1.122 GB, free: 13.24 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.459e-05/0.3587, allocations: 4 kB / 1.122 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.3587, allocations: 8.062 kB / 1.122 GB, free: 13.23 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.000119/0.3588, allocations: 126.6 kB / 1.123 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/0.3588, allocations: 7.953 kB / 1.123 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/0.3589, allocations: 16.38 kB / 1.123 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3589, allocations: 0 / 1.123 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3589, allocations: 0 / 1.123 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3589, allocations: 0 / 1.123 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/0.3594, allocations: 334 kB / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3594, allocations: 4 kB / 1.123 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.419e-05/0.3594, allocations: 11.92 kB / 1.123 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3594, allocations: 0 / 1.123 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.3594, allocations: 4 kB / 1.123 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3594, allocations: 0 / 1.123 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3594, allocations: 0 / 1.123 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000318/0.3597, allocations: 219.4 kB / 1.123 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.849e-06/0.3598, allocations: 0 / 1.123 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.3598, allocations: 4 kB / 1.123 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.598e-05/0.3599, allocations: 0 / 1.123 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.3599, allocations: 11.98 kB / 1.123 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.3599, allocations: 7.938 kB / 1.123 GB, free: 12.43 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.867e-05/0.36, allocations: 97.14 kB / 1.123 GB, free: 12.34 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.36, allocations: 0 / 1.123 GB, free: 12.34 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000313/0.3603, allocations: 39.92 kB / 1.123 GB, free: 12.3 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.0003871/0.3607, allocations: 165 kB / 1.123 GB, free: 12.15 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002499/0.3609, allocations: 75.94 kB / 1.123 GB, free: 12.07 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3609, allocations: 0 / 1.123 GB, free: 12.07 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.703e-05/0.361, allocations: 31.92 kB / 1.124 GB, free: 12.04 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.3613, allocations: 8 kB / 1.124 GB, free: 12.04 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004354/0.3617, allocations: 192.5 kB / 1.124 GB, free: 11.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.775e-05/0.3618, allocations: 83.33 kB / 1.124 GB, free: 11.72 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.447e-05/0.3618, allocations: 4 kB / 1.124 GB, free: 11.71 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.3619, allocations: 16.5 kB / 1.124 GB, free: 11.7 MB / 1.076 GB Notification: Performance of SimCode: time 3.81e-07/0.3619, allocations: 0 / 1.124 GB, free: 11.7 MB / 1.076 GB Notification: Performance of Templates: time 0.004857/0.3667, allocations: 1.482 MB / 1.125 GB, free: 10.23 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.828264379990287]