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.001397/0.001397, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001796/0.001796, allocations: 217.3 kB / 22.25 MB, free: 5.121 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 8.012 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.885/2.885, allocations: 476.7 MB / 0.7706 GB, free: 4.316 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.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.002117/0.002117, allocations: 66.27 kB / 1.118 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3766, allocations: 170 MB / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.003616/0.3802, allocations: 1.531 MB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.3818, allocations: 0.8119 MB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.818e-05/0.3819, allocations: 4 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.827e-05/0.3819, allocations: 3.938 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.16e-05/0.382, allocations: 11.88 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006566/0.3826, allocations: 147.5 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000137/0.3828, allocations: 75.78 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.906e-05/0.3829, allocations: 12.11 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.383, allocations: 51.84 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.73e-05/0.3831, allocations: 39.83 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.3831, allocations: 8 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002852/0.3834, allocations: 143.8 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.481e-05/0.3834, allocations: 11.98 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.719e-05/0.3835, allocations: 39.78 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.3837, allocations: 147.5 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3837, allocations: 0 / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3837, allocations: 0 / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3837, allocations: 0 / 1.287 GB, free: 8.227 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.0006609/0.3844, allocations: 353.6 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3844, allocations: 19.97 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003365/0.3848, allocations: 28.86 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.385, allocations: 138 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.3851, allocations: 4.375 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.3851, allocations: 8.375 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.3853, allocations: 69.78 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3853, allocations: 7.938 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3853, allocations: 7.984 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3853, allocations: 0 / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.3854, allocations: 39.91 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006071/0.386, allocations: 287.8 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.3862, allocations: 46.56 kB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.648e-05/0.3863, allocations: 32.91 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.3863, allocations: 0 / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.3865, allocations: 79.36 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.3865, allocations: 0 / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003996/0.3869, allocations: 137.7 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.3869, allocations: 59.41 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.387, allocations: 122.1 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.3871, allocations: 33.64 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.318e-05/0.3871, allocations: 92.09 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.3872, allocations: 23.83 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/0.3872, allocations: 29.7 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3874, allocations: 318.8 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.45e-05/0.3875, allocations: 27.98 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.3876, allocations: 46.55 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.3877, allocations: 74.48 kB / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3877, allocations: 0 / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002533/0.388, allocations: 117.5 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.388, allocations: 4 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.388, allocations: 4 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.388, allocations: 0 / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.505e-05/0.3881, allocations: 8 kB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.3881, allocations: 3.984 kB / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.495e-05/0.3882, allocations: 8 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.3882, allocations: 4 kB / 1.289 GB, free: 5.828 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.0001017/0.3883, allocations: 121.8 kB / 1.289 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.3883, allocations: 15.83 kB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.3884, allocations: 16.36 kB / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.3884, allocations: 0 / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3884, allocations: 0 / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3884, allocations: 0 / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004885/0.3889, allocations: 353.4 kB / 1.289 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3889, allocations: 4 kB / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.651e-05/0.3889, allocations: 4 kB / 1.289 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.3889, allocations: 4 kB / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.3889, allocations: 7.984 kB / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.3889, allocations: 7.875 kB / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3889, allocations: 0 / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002992/0.3892, allocations: 203.5 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.339e-05/0.3892, allocations: 11.89 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.3893, allocations: 4 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.299e-05/0.3894, allocations: 15.92 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.3894, allocations: 7.984 kB / 1.29 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.3894, allocations: 0 / 1.29 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.732e-05/0.3895, allocations: 95.27 kB / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3895, allocations: 0 / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003115/0.3898, allocations: 35.94 kB / 1.29 GB, free: 4.859 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.0003969/0.3902, allocations: 172.7 kB / 1.29 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002445/0.3904, allocations: 67.89 kB / 1.29 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3905, allocations: 3.938 kB / 1.29 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.3906, allocations: 35.92 kB / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.3908, allocations: 16.05 kB / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000454/0.3913, allocations: 184.7 kB / 1.29 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.3916, allocations: 0.6885 MB / 1.291 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.659e-05/0.3917, allocations: 4 kB / 1.291 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.3917, allocations: 15.42 kB / 1.291 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.3917, allocations: 4 kB / 1.291 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of Templates: time 0.004923/0.3966, allocations: 1.493 MB / 1.292 GB, free: 2.145 MB / 0.9825 GB " [Timeout remaining time 299] 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 -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/jenkins/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: 9.483449869323522]