Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 105.1 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002294/0.002294, allocations: 199.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.826/2.826, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 59.91 kB / 1.104 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.017, allocations: 168.7 MB / 1.269 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.003505/1.02, allocations: 1.499 MB / 1.271 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001587/1.022, allocations: 0.7377 MB / 1.271 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.982e-05/1.022, allocations: 7.938 kB / 1.271 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.479e-05/1.022, allocations: 3.938 kB / 1.271 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.961e-05/1.022, allocations: 15.86 kB / 1.271 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006987/1.023, allocations: 115.6 kB / 1.272 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001584/1.023, allocations: 79.77 kB / 1.272 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/1.023, allocations: 11.95 kB / 1.272 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/1.023, allocations: 35.89 kB / 1.272 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.936e-05/1.023, allocations: 35.84 kB / 1.272 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/1.023, allocations: 8 kB / 1.272 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002507/1.024, allocations: 111.8 kB / 1.272 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.928e-05/1.024, allocations: 11.97 kB / 1.272 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.377e-05/1.024, allocations: 35.8 kB / 1.272 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003102/1.024, allocations: 145.9 kB / 1.272 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.024, allocations: 0 / 1.272 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.913e-06/1.024, allocations: 0 / 1.272 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.406e-06/1.024, allocations: 0 / 1.272 GB, free: 2.332 MB / 0.9669 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.0007882/1.025, allocations: 422.9 kB / 1.272 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/1.025, allocations: 12.03 kB / 1.272 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.821e-05/1.025, allocations: 8.891 kB / 1.272 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/1.025, allocations: 172.3 kB / 1.273 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/1.025, allocations: 8.375 kB / 1.273 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/1.025, allocations: 4.375 kB / 1.273 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/1.025, allocations: 73.95 kB / 1.273 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/1.025, allocations: 0 / 1.273 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/1.025, allocations: 4 kB / 1.273 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/1.025, allocations: 0 / 1.273 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/1.026, allocations: 43.91 kB / 1.273 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008395/1.026, allocations: 312.7 kB / 1.273 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/1.027, allocations: 46.5 kB / 1.273 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.402e-05/1.027, allocations: 32.95 kB / 1.273 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/1.027, allocations: 4 kB / 1.273 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/1.027, allocations: 83.31 kB / 1.273 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/1.027, allocations: 0 / 1.273 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0005064/1.027, allocations: 141.6 kB / 1.273 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/1.028, allocations: 59.41 kB / 1.273 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/1.028, allocations: 125.7 kB / 1.273 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/1.028, allocations: 33.69 kB / 1.273 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.743e-05/1.028, allocations: 88.14 kB / 1.274 GB, free: 496 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/1.028, allocations: 11.91 kB / 1.274 GB, free: 484 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.59e-05/1.028, allocations: 29.7 kB / 1.274 GB, free: 448 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001634/1.028, allocations: 326.8 kB / 1.274 GB, free: 112 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.802e-05/1.028, allocations: 23.92 kB / 1.274 GB, free: 88 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/1.028, allocations: 50.56 kB / 1.274 GB, free: 28 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/1.028, allocations: 70.55 kB / 1.274 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.028, allocations: 0 / 1.274 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002625/1.029, allocations: 113.5 kB / 1.274 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/1.029, allocations: 12.06 kB / 1.274 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/1.029, allocations: 0 / 1.274 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/1.029, allocations: 0 / 1.274 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/1.029, allocations: 15.92 kB / 1.274 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/1.029, allocations: 4 kB / 1.274 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.487e-05/1.029, allocations: 11.94 kB / 1.274 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/1.029, allocations: 0 / 1.274 GB, free: 15.79 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.0001205/1.029, allocations: 125.8 kB / 1.274 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/1.029, allocations: 11.95 kB / 1.274 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/1.029, allocations: 8.375 kB / 1.274 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/1.029, allocations: 0 / 1.274 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.029, allocations: 0 / 1.274 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/1.029, allocations: 3.938 kB / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006736/1.03, allocations: 382.8 kB / 1.275 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/1.03, allocations: 4 kB / 1.275 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.319e-05/1.03, allocations: 7.984 kB / 1.275 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.367e-06/1.03, allocations: 8 kB / 1.275 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/1.03, allocations: 0 / 1.275 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/1.03, allocations: 0 / 1.275 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/1.03, allocations: 3.938 kB / 1.275 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/1.03, allocations: 211.4 kB / 1.275 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/1.03, allocations: 81.06 kB / 1.275 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/1.03, allocations: 0 / 1.275 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.232e-05/1.03, allocations: 12 kB / 1.275 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/1.03, allocations: 19.84 kB / 1.275 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/1.03, allocations: 0 / 1.275 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.17e-05/1.03, allocations: 95.92 kB / 1.275 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/1.03, allocations: 0 / 1.275 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003227/1.031, allocations: 39.92 kB / 1.275 GB, free: 14.69 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.000485/1.031, allocations: 167.4 kB / 1.275 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002664/1.032, allocations: 63.91 kB / 1.275 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.032, allocations: 0 / 1.275 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/1.032, allocations: 39.91 kB / 1.275 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/1.032, allocations: 8 kB / 1.275 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005086/1.032, allocations: 190.2 kB / 1.276 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/1.033, allocations: 0.6885 MB / 1.276 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.119e-05/1.033, allocations: 7.984 kB / 1.276 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/1.033, allocations: 11.44 kB / 1.276 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/1.033, allocations: 0 / 1.276 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of Templates: time 0.005402/1.038, allocations: 1.468 MB / 1.278 GB, free: 12.01 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.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.237568682990968]