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.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.001546/0.001546, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001711/0.001711, allocations: 186 kB / 20.78 MB, free: 1.547 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.562/1.562, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.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.91/2.91, allocations: 476.7 MB / 0.7629 GB, free: 15.13 MB / 0.6075 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.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: Performance of FrontEnd - loaded program: time 0.003246/0.003246, allocations: 63.89 kB / 1.107 GB, free: 4.547 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165/1.169, allocations: 168.7 MB / 1.272 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.003319/1.172, allocations: 1.526 MB / 1.273 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001422/1.173, allocations: 0.7428 MB / 1.274 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.82e-05/1.173, allocations: 3.938 kB / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.589e-05/1.174, allocations: 5.016 kB / 1.274 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.491e-05/1.174, allocations: 15.72 kB / 1.274 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000717/1.174, allocations: 119.4 kB / 1.274 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001765/1.174, allocations: 78.59 kB / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/1.175, allocations: 5.781 kB / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/1.175, allocations: 35.03 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.999e-05/1.175, allocations: 41.81 kB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/1.175, allocations: 6.781 kB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002874/1.175, allocations: 106.6 kB / 1.275 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.817e-05/1.175, allocations: 15.88 kB / 1.275 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.877e-05/1.175, allocations: 36.02 kB / 1.275 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003754/1.176, allocations: 144.7 kB / 1.275 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.176, allocations: 0 / 1.275 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.325e-06/1.176, allocations: 0 / 1.275 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.328e-06/1.176, allocations: 0.9375 kB / 1.275 GB, free: 6.078 MB / 0.9981 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.0008116/1.176, allocations: 417.8 kB / 1.275 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/1.177, allocations: 8.969 kB / 1.275 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.203e-05/1.177, allocations: 17.83 kB / 1.275 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/1.177, allocations: 176 kB / 1.275 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.176e-05/1.177, allocations: 8.656 kB / 1.275 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/1.177, allocations: 4.031 kB / 1.275 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/1.177, allocations: 72.56 kB / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/1.177, allocations: 0 / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/1.177, allocations: 0.75 kB / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/1.177, allocations: 4.812 kB / 1.275 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/1.177, allocations: 41.28 kB / 1.275 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000746/1.178, allocations: 321.2 kB / 1.276 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/1.178, allocations: 45.5 kB / 1.276 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.466e-05/1.178, allocations: 28.86 kB / 1.276 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/1.178, allocations: 0.9062 kB / 1.276 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002644/1.179, allocations: 91.05 kB / 1.276 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/1.179, allocations: 0 / 1.276 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0005206/1.179, allocations: 132 kB / 1.276 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/1.179, allocations: 54.83 kB / 1.276 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/1.179, allocations: 123.6 kB / 1.276 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/1.179, allocations: 26.95 kB / 1.276 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/1.179, allocations: 95.97 kB / 1.276 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/1.179, allocations: 11.16 kB / 1.276 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.349e-05/1.179, allocations: 29.17 kB / 1.276 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.622e-05/1.18, allocations: 324.3 kB / 1.277 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.655e-05/1.18, allocations: 27.11 kB / 1.277 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/1.18, allocations: 50.52 kB / 1.277 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/1.18, allocations: 76.19 kB / 1.277 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.18, allocations: 0.6875 kB / 1.277 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002706/1.18, allocations: 112.7 kB / 1.277 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/1.18, allocations: 7.938 kB / 1.277 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/1.18, allocations: 2.891 kB / 1.277 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/1.18, allocations: 5.188 kB / 1.277 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/1.18, allocations: 13.67 kB / 1.277 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/1.18, allocations: 7.391 kB / 1.277 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.197e-05/1.18, allocations: 11.69 kB / 1.277 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/1.18, allocations: 4.422 kB / 1.277 GB, free: 4.082 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.0001066/1.181, allocations: 118.5 kB / 1.277 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/1.181, allocations: 8.141 kB / 1.277 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/1.181, allocations: 11.06 kB / 1.277 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/1.181, allocations: 7.812 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.181, allocations: 0 / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/1.181, allocations: 0 / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005199/1.181, allocations: 385 kB / 1.278 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/1.181, allocations: 4.844 kB / 1.278 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/1.181, allocations: 6.625 kB / 1.278 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/1.181, allocations: 0 / 1.278 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/1.181, allocations: 2.031 kB / 1.278 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.788e-06/1.181, allocations: 2.438 kB / 1.278 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.181, allocations: 7.938 kB / 1.278 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000313/1.182, allocations: 205.8 kB / 1.278 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.782e-05/1.182, allocations: 80.48 kB / 1.278 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/1.182, allocations: 9.844 kB / 1.278 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.174e-05/1.182, allocations: 4.516 kB / 1.278 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.408e-05/1.182, allocations: 11.92 kB / 1.278 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/1.182, allocations: 8.109 kB / 1.278 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.053e-05/1.182, allocations: 91.55 kB / 1.278 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/1.182, allocations: 0 / 1.278 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004198/1.182, allocations: 38.8 kB / 1.278 GB, free: 3.227 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.0005528/1.183, allocations: 165 kB / 1.278 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003245/1.183, allocations: 73.19 kB / 1.278 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/1.183, allocations: 0 / 1.278 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/1.183, allocations: 36.64 kB / 1.278 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/1.184, allocations: 14.22 kB / 1.278 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005838/1.184, allocations: 194 kB / 1.278 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/1.184, allocations: 0.6919 MB / 1.279 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.979e-05/1.185, allocations: 6.344 kB / 1.279 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.709e-05/1.185, allocations: 10.53 kB / 1.279 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of SimCode: time 2.71e-07/1.185, allocations: 0 / 1.279 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of Templates: time 0.006415/1.191, allocations: 1.474 MB / 1.281 GB, free: 2.055 MB / 0.9981 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.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.748344212770462]