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.001876/0.001876, allocations: 110.6 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.002578/0.002578, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.546/1.546, allocations: 230.6 MB / 256 MB, free: 7.98 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.981/2.981, allocations: 476.7 MB / 0.7707 GB, free: 4.273 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.002027/0.002027, allocations: 69.7 kB / 1.118 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3956, allocations: 169.9 MB / 1.284 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.003789/0.3994, allocations: 1.547 MB / 1.285 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002006/0.4014, allocations: 0.8154 MB / 1.286 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.754e-05/0.4015, allocations: 7.938 kB / 1.286 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.152e-05/0.4015, allocations: 7.938 kB / 1.286 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.717e-05/0.4016, allocations: 11.86 kB / 1.286 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000801/0.4024, allocations: 147.6 kB / 1.286 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.4026, allocations: 79.77 kB / 1.286 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.4027, allocations: 8.125 kB / 1.286 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.4029, allocations: 51.83 kB / 1.286 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.995e-05/0.403, allocations: 31.91 kB / 1.286 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.403, allocations: 12 kB / 1.286 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003202/0.4033, allocations: 147.7 kB / 1.287 GB, free: 412 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.181e-05/0.4034, allocations: 19.92 kB / 1.287 GB, free: 392 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.252e-05/0.4035, allocations: 27.86 kB / 1.287 GB, free: 364 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.4038, allocations: 155.5 kB / 1.287 GB, free: 208 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.4038, allocations: 0 / 1.287 GB, free: 208 kB / 0.9825 GB Notification: Performance of FrontEnd: time 2.855e-06/0.4038, allocations: 0 / 1.287 GB, free: 208 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.938e-06/0.4038, allocations: 3.938 kB / 1.287 GB, free: 204 kB / 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.0008777/0.4047, allocations: 351.6 kB / 1.287 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.4047, allocations: 12.03 kB / 1.287 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000393/0.4051, allocations: 32.86 kB / 1.287 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.4055, allocations: 126.4 kB / 1.287 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.4055, allocations: 4.359 kB / 1.287 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.4055, allocations: 4.375 kB / 1.287 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.4057, allocations: 73.78 kB / 1.287 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.4057, allocations: 0 / 1.287 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.4058, allocations: 4 kB / 1.287 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.4058, allocations: 0 / 1.287 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.4059, allocations: 39.91 kB / 1.287 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006634/0.4066, allocations: 287.8 kB / 1.288 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.4067, allocations: 46.56 kB / 1.288 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.084e-05/0.4068, allocations: 28.97 kB / 1.288 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.4068, allocations: 0 / 1.288 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.407, allocations: 79.31 kB / 1.288 GB, free: 15 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.407, allocations: 0 / 1.288 GB, free: 15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004505/0.4074, allocations: 145.6 kB / 1.288 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.4075, allocations: 59.39 kB / 1.288 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.4076, allocations: 118.1 kB / 1.288 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.4076, allocations: 29.7 kB / 1.288 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.555e-05/0.4077, allocations: 100 kB / 1.288 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.4077, allocations: 19.84 kB / 1.288 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.734e-05/0.4078, allocations: 29.7 kB / 1.288 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002294/0.408, allocations: 318.8 kB / 1.289 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.183e-05/0.4081, allocations: 31.98 kB / 1.289 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.4082, allocations: 54.44 kB / 1.289 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.4084, allocations: 66.55 kB / 1.289 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4084, allocations: 0 / 1.289 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002377/0.4086, allocations: 117.5 kB / 1.289 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.4086, allocations: 9.875 kB / 1.289 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.4086, allocations: 0 / 1.289 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.4086, allocations: 0 / 1.289 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.4087, allocations: 15.92 kB / 1.289 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.4088, allocations: 7.938 kB / 1.289 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.221e-05/0.4088, allocations: 4 kB / 1.289 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.4088, allocations: 4 kB / 1.289 GB, free: 13.81 MB / 0.9981 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.0001246/0.409, allocations: 129.8 kB / 1.289 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.409, allocations: 7.953 kB / 1.289 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/0.409, allocations: 8.375 kB / 1.289 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.409, allocations: 0 / 1.289 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.409, allocations: 0 / 1.289 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.409, allocations: 0 / 1.289 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000495/0.4095, allocations: 361.8 kB / 1.289 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4095, allocations: 4 kB / 1.289 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.759e-05/0.4095, allocations: 4 kB / 1.289 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.4096, allocations: 3.984 kB / 1.289 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.4096, allocations: 0 / 1.289 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.4096, allocations: 7.953 kB / 1.289 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4096, allocations: 3.984 kB / 1.289 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.4099, allocations: 211.4 kB / 1.29 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.081e-05/0.4099, allocations: 19.88 kB / 1.29 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.4099, allocations: 0 / 1.29 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.568e-05/0.41, allocations: 7.938 kB / 1.29 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.41, allocations: 7.984 kB / 1.29 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.4101, allocations: 4 kB / 1.29 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.104e-05/0.4101, allocations: 94.77 kB / 1.29 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.4101, allocations: 0 / 1.29 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003224/0.4104, allocations: 39.92 kB / 1.29 GB, free: 12.84 MB / 0.9981 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.0004172/0.4109, allocations: 157.8 kB / 1.29 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002747/0.4111, allocations: 63.91 kB / 1.29 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4111, allocations: 0 / 1.29 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.4112, allocations: 35.97 kB / 1.29 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.4115, allocations: 12.12 kB / 1.29 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005153/0.412, allocations: 184.7 kB / 1.29 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.4125, allocations: 0.6924 MB / 1.291 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.031e-05/0.4125, allocations: 7.969 kB / 1.291 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.727e-05/0.4125, allocations: 11.44 kB / 1.291 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/0.4125, allocations: 4 kB / 1.291 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of Templates: time 0.005415/0.418, allocations: 1.498 MB / 1.292 GB, free: 10.15 MB / 0.9981 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 -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.293156683910638]