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.001765/0.001765, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002221/0.002221, allocations: 209.7 kB / 22.24 MB, free: 5.262 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.556/1.556, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.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.816/2.816, allocations: 475.9 MB / 0.7699 GB, free: 4.762 MB / 0.6231 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.002156/0.002156, allocations: 65.2 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3716, allocations: 169.9 MB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.003075/0.3747, allocations: 1.521 MB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.3762, allocations: 0.7575 MB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.124e-05/0.3763, allocations: 4 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.548e-05/0.3763, allocations: 3.938 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.168e-05/0.3764, allocations: 7.875 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006402/0.377, allocations: 151.5 kB / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.3772, allocations: 75.78 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.87e-05/0.3773, allocations: 12.11 kB / 1.285 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.3774, allocations: 47.84 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.93e-05/0.3775, allocations: 39.77 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.3775, allocations: 8 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003711/0.3779, allocations: 139.7 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.79e-05/0.3779, allocations: 15.98 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.716e-05/0.3779, allocations: 23.86 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.3782, allocations: 151.5 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3782, allocations: 4 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3782, allocations: 0 / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.3782, allocations: 0 / 1.286 GB, free: 9.016 MB / 0.9825 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.0007135/0.379, allocations: 351.5 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.379, allocations: 12.03 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003333/0.3793, allocations: 24.91 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.3796, allocations: 142.3 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.3796, allocations: 4.375 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.3796, allocations: 8.375 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.3798, allocations: 73.78 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3798, allocations: 0 / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.3799, allocations: 0 / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3799, allocations: 0 / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.38, allocations: 39.95 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005743/0.3806, allocations: 252.4 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.3807, allocations: 46.56 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.99e-05/0.3808, allocations: 28.97 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.3808, allocations: 0 / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.381, allocations: 79.38 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.381, allocations: 0 / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004272/0.3814, allocations: 145.6 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.3814, allocations: 55.39 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.3816, allocations: 125 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.3816, allocations: 33.7 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.855e-05/0.3817, allocations: 92.08 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.3817, allocations: 19.84 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/0.3817, allocations: 29.7 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3819, allocations: 318.8 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.975e-05/0.382, allocations: 31.97 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.296e-05/0.3821, allocations: 42.56 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.3823, allocations: 82.42 kB / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3823, allocations: 0 / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002351/0.3825, allocations: 113.9 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3825, allocations: 4 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.3825, allocations: 4 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.3825, allocations: 3.938 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.867e-05/0.3826, allocations: 11.98 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3826, allocations: 144 / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.929e-05/0.3827, allocations: 11.94 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.3827, allocations: 11.98 kB / 1.288 GB, free: 6.664 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.0001085/0.3828, allocations: 121.8 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.3828, allocations: 7.938 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.37e-05/0.3829, allocations: 12.38 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3829, allocations: 0 / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.3829, allocations: 0 / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.3829, allocations: 0 / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004651/0.3833, allocations: 330.1 kB / 1.288 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3833, allocations: 4 kB / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.93e-05/0.3834, allocations: 7.984 kB / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3834, allocations: 0 / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.3834, allocations: 0 / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3834, allocations: 0 / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.3834, allocations: 4 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.3837, allocations: 215.4 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.3837, allocations: 19.86 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.3837, allocations: 0 / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.319e-05/0.3838, allocations: 8 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.3839, allocations: 11.92 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.3839, allocations: 7.938 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.338e-05/0.384, allocations: 91.27 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.384, allocations: 0 / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003425/0.3843, allocations: 39.92 kB / 1.289 GB, free: 5.734 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.0003773/0.3847, allocations: 174 kB / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002413/0.3849, allocations: 67.91 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3849, allocations: 0 / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.371e-05/0.385, allocations: 31.97 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.3853, allocations: 4 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/0.3857, allocations: 195.5 kB / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.092e-05/0.3858, allocations: 75.41 kB / 1.289 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.049e-05/0.3858, allocations: 11.92 kB / 1.289 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.3858, allocations: 11.44 kB / 1.289 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3858, allocations: 0 / 1.289 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of Templates: time 0.004679/0.3905, allocations: 1.517 MB / 1.291 GB, free: 3.648 MB / 0.9825 GB " [Timeout remaining time 299] 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 -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/jenkins/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: 9.335185332223773]