Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.00158/0.00158, allocations: 75.75 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.001832/0.001832, allocations: 164.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.436/1.436, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.724/2.724, allocations: 359.1 MB / 0.6044 GB, free: 14.87 MB / 0.5762 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.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.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") [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.002136/0.002136, allocations: 71.84 kB / 0.9515 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3519, allocations: 169.9 MB / 1.117 GB, free: 2.578 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.003087/0.355, allocations: 1.523 MB / 1.119 GB, free: 1.047 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.3566, allocations: 0.7596 MB / 1.12 GB, free: 288 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.704e-05/0.3566, allocations: 11.88 kB / 1.12 GB, free: 276 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.033e-05/0.3567, allocations: 3.938 kB / 1.12 GB, free: 272 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.09e-05/0.3567, allocations: 11.86 kB / 1.12 GB, free: 260 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006211/0.3573, allocations: 139.6 kB / 1.12 GB, free: 120 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.3575, allocations: 83.7 kB / 1.12 GB, free: 36 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.508e-05/0.3576, allocations: 8.188 kB / 1.12 GB, free: 28 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.3577, allocations: 39.89 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.2e-05/0.3578, allocations: 31.84 kB / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.3578, allocations: 12 kB / 1.12 GB, free: 15.95 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003224/0.3581, allocations: 143.7 kB / 1.12 GB, free: 15.8 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.947e-05/0.3582, allocations: 15.98 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.771e-05/0.3582, allocations: 27.86 kB / 1.12 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.3585, allocations: 147.5 kB / 1.12 GB, free: 15.62 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3585, allocations: 0 / 1.12 GB, free: 15.62 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3585, allocations: 3.938 kB / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.3585, 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.0006459/0.3591, allocations: 355.5 kB / 1.121 GB, free: 15.23 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.3592, allocations: 16.03 kB / 1.121 GB, free: 15.21 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003334/0.3595, allocations: 28.86 kB / 1.121 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.3598, allocations: 126.4 kB / 1.121 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.3598, allocations: 4.375 kB / 1.121 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.3598, allocations: 4.375 kB / 1.121 GB, free: 15.03 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.36, allocations: 73.78 kB / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.36, allocations: 3.984 kB / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.36, allocations: 0 / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.36, allocations: 0 / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.3602, allocations: 39.92 kB / 1.121 GB, free: 14.91 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005998/0.3608, allocations: 252.4 kB / 1.121 GB, free: 14.63 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.3609, allocations: 42.56 kB / 1.121 GB, free: 14.58 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.722e-05/0.361, allocations: 32.97 kB / 1.121 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.361, allocations: 0 / 1.121 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.3612, allocations: 83.31 kB / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.3612, allocations: 0 / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0004336/0.3616, allocations: 149.6 kB / 1.121 GB, free: 14.3 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.3617, allocations: 51.41 kB / 1.122 GB, free: 14.24 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.3618, allocations: 122 kB / 1.122 GB, free: 14.11 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.3618, allocations: 33.7 kB / 1.122 GB, free: 14.07 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/0.3619, allocations: 88.12 kB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.3619, allocations: 19.84 kB / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.302e-05/0.362, allocations: 29.7 kB / 1.122 GB, free: 13.92 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3622, allocations: 330.8 kB / 1.122 GB, free: 13.59 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.772e-05/0.3622, allocations: 27.92 kB / 1.122 GB, free: 13.56 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.3624, allocations: 46.5 kB / 1.122 GB, free: 13.51 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.3625, allocations: 74.48 kB / 1.122 GB, free: 13.43 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3625, allocations: 0 / 1.122 GB, free: 13.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002722/0.3628, allocations: 117.6 kB / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3628, allocations: 4 kB / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3628, allocations: 4 kB / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3629, allocations: 0 / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.363, allocations: 19.92 kB / 1.122 GB, free: 13.28 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.363, allocations: 0 / 1.122 GB, free: 13.28 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.737e-05/0.363, allocations: 8 kB / 1.122 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.3631, allocations: 4 kB / 1.122 GB, free: 13.27 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.000127/0.3632, allocations: 125.8 kB / 1.123 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.3632, allocations: 7.984 kB / 1.123 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.3632, allocations: 12.44 kB / 1.123 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3632, allocations: 3.984 kB / 1.123 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3632, allocations: 0 / 1.123 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.3632, allocations: 0 / 1.123 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005194/0.3638, allocations: 334 kB / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3638, allocations: 0 / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.283e-05/0.3638, allocations: 7.984 kB / 1.123 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3638, allocations: 0 / 1.123 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.3638, allocations: 0 / 1.123 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3638, allocations: 4 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3638, allocations: 4 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003737/0.3642, allocations: 223.3 kB / 1.123 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.399e-05/0.3642, allocations: 4 kB / 1.123 GB, free: 12.49 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.3642, allocations: 0 / 1.123 GB, free: 12.49 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-05/0.3643, allocations: 4 kB / 1.123 GB, free: 12.49 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.3644, allocations: 7.984 kB / 1.123 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.3644, allocations: 7.938 kB / 1.123 GB, free: 12.47 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.303e-05/0.3645, allocations: 92.14 kB / 1.123 GB, free: 12.38 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3645, allocations: 4 kB / 1.123 GB, free: 12.38 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003651/0.3648, allocations: 47.86 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.0004616/0.3653, allocations: 160.7 kB / 1.123 GB, free: 12.18 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002628/0.3656, allocations: 71.88 kB / 1.123 GB, free: 12.11 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3656, allocations: 128 / 1.123 GB, free: 12.11 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.3657, allocations: 35.98 kB / 1.124 GB, free: 12.08 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.3659, allocations: 4 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.0004806/0.3664, allocations: 193.9 kB / 1.124 GB, free: 11.86 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.119e-05/0.3665, allocations: 79.2 kB / 1.124 GB, free: 11.76 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.762e-05/0.3665, allocations: 4 kB / 1.124 GB, free: 11.76 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.3666, allocations: 16.5 kB / 1.124 GB, free: 11.74 MB / 1.076 GB Notification: Performance of SimCode: time 5.21e-07/0.3666, allocations: 0 / 1.124 GB, free: 11.74 MB / 1.076 GB Notification: Performance of Templates: time 0.00505/0.3716, allocations: 1.488 MB / 1.125 GB, free: 10.28 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.776612989022397]