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.001344/0.001344, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001382/0.001382, allocations: 202.3 kB / 22.17 MB, free: 5.207 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.462/1.462, allocations: 225.6 MB / 250.9 MB, free: 13.26 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.916/2.916, allocations: 476.7 MB / 0.7645 GB, free: 10.07 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.00289/0.00289, allocations: 63.89 kB / 1.109 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8356/0.8384, allocations: 168.7 MB / 1.274 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002832/0.8413, allocations: 1.51 MB / 1.276 GB, free: 3 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.8427, allocations: 0.7417 MB / 1.276 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.8428, allocations: 3.938 kB / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.89e-05/0.8428, allocations: 3.938 kB / 1.276 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.615e-05/0.8429, allocations: 11.92 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005859/0.8435, allocations: 127.5 kB / 1.276 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.8436, allocations: 75.77 kB / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.365e-05/0.8437, allocations: 15.89 kB / 1.276 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.786e-05/0.8438, allocations: 35.91 kB / 1.277 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.637e-05/0.8438, allocations: 39.83 kB / 1.277 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.8438, allocations: 4 kB / 1.277 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/0.8441, allocations: 103.8 kB / 1.277 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.059e-05/0.8441, allocations: 23.91 kB / 1.277 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.793e-05/0.8441, allocations: 35.86 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.8444, allocations: 146.2 kB / 1.277 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.8444, allocations: 0 / 1.277 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8444, allocations: 0 / 1.277 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.8444, allocations: 0 / 1.277 GB, free: 1.645 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.0007059/0.8451, allocations: 416.8 kB / 1.277 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.8452, allocations: 8.031 kB / 1.277 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.8452, allocations: 8.891 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.8454, allocations: 172.3 kB / 1.277 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.805e-05/0.8454, allocations: 8.359 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.8454, allocations: 8.375 kB / 1.277 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.8456, allocations: 69.97 kB / 1.278 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.8456, allocations: 0 / 1.278 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.8456, allocations: 0 / 1.278 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.8456, allocations: 0 / 1.278 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.8458, allocations: 51.83 kB / 1.278 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006546/0.8464, allocations: 312.8 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.8466, allocations: 42.56 kB / 1.278 GB, free: 424 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.565e-05/0.8467, allocations: 28.97 kB / 1.278 GB, free: 392 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.8467, allocations: 0 / 1.278 GB, free: 392 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002142/0.8469, allocations: 83.31 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.8469, allocations: 0 / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004269/0.8473, allocations: 145.6 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.8474, allocations: 51.41 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.8475, allocations: 129.7 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.8476, allocations: 29.7 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.8476, allocations: 92.12 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.8476, allocations: 15.91 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.809e-05/0.8477, allocations: 33.7 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.8479, allocations: 318.8 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.019e-05/0.8479, allocations: 27.98 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.902e-05/0.848, allocations: 46.5 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.8482, allocations: 78.84 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.8482, allocations: 4 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002566/0.8485, allocations: 113.5 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.8485, allocations: 7.938 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.8485, allocations: 4 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.8485, allocations: 0 / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.8486, allocations: 19.98 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.8486, allocations: 0 / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.498e-05/0.8487, allocations: 7.938 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.8487, allocations: 8 kB / 1.279 GB, free: 15.1 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.0001191/0.8488, allocations: 125.7 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.8489, allocations: 7.953 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.563e-05/0.8489, allocations: 12.36 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.8489, allocations: 8 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.8489, allocations: 0 / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.8489, allocations: 0 / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000532/0.8494, allocations: 382.4 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.8494, allocations: 0 / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.611e-05/0.8495, allocations: 7.984 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.8495, allocations: 0 / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.8495, allocations: 0 / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.8495, allocations: 4 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.8495, allocations: 7.938 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.8498, allocations: 207.4 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.8499, allocations: 89.05 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.8499, allocations: 0 / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.214e-05/0.85, allocations: 4 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.85, allocations: 11.92 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.85, allocations: 4 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.298e-05/0.8501, allocations: 95.92 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8501, allocations: 0 / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000298/0.8504, allocations: 35.94 kB / 1.28 GB, free: 14.01 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.0003825/0.8508, allocations: 170.2 kB / 1.28 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002495/0.851, allocations: 76.12 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.851, allocations: 0 / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.8511, allocations: 32.08 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.8514, allocations: 8.141 kB / 1.28 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004333/0.8518, allocations: 196.2 kB / 1.281 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.8522, allocations: 0.6925 MB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.524e-05/0.8522, allocations: 4 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.248e-05/0.8523, allocations: 15.42 kB / 1.281 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.8523, allocations: 0 / 1.281 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of Templates: time 0.004741/0.857, allocations: 1.479 MB / 1.283 GB, free: 11.3 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.8318488933146]