Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.001791/0.001791, 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.002192/0.002192, allocations: 199.5 kB / 22.17 MB, free: 5.211 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.453/1.453, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.868/2.868, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] 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.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 67.89 kB / 1.109 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7808/0.7828, allocations: 168.7 MB / 1.274 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002627/0.7854, allocations: 1.535 MB / 1.276 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.7868, allocations: 0.7651 MB / 1.276 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.944e-05/0.7869, allocations: 0 / 1.276 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.925e-05/0.7869, allocations: 11.88 kB / 1.276 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.73e-05/0.787, allocations: 11.86 kB / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005355/0.7875, allocations: 131.6 kB / 1.276 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.7876, allocations: 115.7 kB / 1.277 GB, free: 2 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.174e-05/0.7877, allocations: 11.8 kB / 1.277 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.998e-05/0.7878, allocations: 35.91 kB / 1.277 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.006e-05/0.7879, allocations: 59.73 kB / 1.277 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.7879, allocations: 12 kB / 1.277 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000213/0.7881, allocations: 103.8 kB / 1.277 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.542e-05/0.7882, allocations: 31.89 kB / 1.277 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.494e-05/0.7882, allocations: 39.8 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.7885, allocations: 166.4 kB / 1.277 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.7885, allocations: 0 / 1.277 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7885, allocations: 4 kB / 1.277 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.7885, allocations: 0 / 1.277 GB, free: 1.551 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000741/0.7892, allocations: 462.3 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.7893, allocations: 8.031 kB / 1.277 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.712e-05/0.7893, allocations: 8.891 kB / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.7895, allocations: 180.2 kB / 1.278 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.7895, allocations: 4.375 kB / 1.278 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.7895, allocations: 8.375 kB / 1.278 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.7898, allocations: 93.88 kB / 1.278 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.7898, allocations: 0 / 1.278 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.7898, allocations: 4 kB / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.7898, allocations: 3.938 kB / 1.278 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.79, allocations: 43.97 kB / 1.278 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007994/0.7908, allocations: 340.7 kB / 1.278 GB, free: 272 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.791, allocations: 58.58 kB / 1.278 GB, free: 204 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.7911, allocations: 36.84 kB / 1.278 GB, free: 164 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.7911, allocations: 0 / 1.278 GB, free: 164 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002486/0.7914, allocations: 99.34 kB / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.7914, allocations: 0 / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0005853/0.792, allocations: 181.5 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.792, allocations: 59.34 kB / 1.279 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.7921, allocations: 132.9 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.7922, allocations: 25.7 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.579e-05/0.7922, allocations: 104.3 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.7923, allocations: 19.84 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/0.7923, allocations: 29.7 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.7925, allocations: 326.8 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.572e-05/0.7926, allocations: 27.98 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.7927, allocations: 72.2 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.7929, allocations: 88.22 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.7929, allocations: 0 / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002968/0.7932, allocations: 137.5 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.7932, allocations: 4 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.7932, allocations: 4.312 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.7932, allocations: 0 / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.7934, allocations: 15.98 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.7934, allocations: 0 / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.734e-05/0.7934, allocations: 16.02 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.7935, allocations: 15.91 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001095/0.7936, allocations: 131.5 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.7936, allocations: 7.953 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.836e-05/0.7936, allocations: 8.375 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.7936, allocations: 0 / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.7936, allocations: 4 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.7936, allocations: 3.938 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006386/0.7943, allocations: 426.3 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.7943, allocations: 4 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.93e-05/0.7943, allocations: 4 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.7943, allocations: 4 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.7943, allocations: 3.984 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.7943, allocations: 0 / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.7943, allocations: 3.938 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004269/0.7948, allocations: 243.4 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.073e-05/0.7948, allocations: 85.06 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.7949, allocations: 7.938 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.795, allocations: 7.984 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.795, allocations: 3.938 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.795, allocations: 7.984 kB / 1.28 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.77e-05/0.7951, allocations: 99.27 kB / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7951, allocations: 0 / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003172/0.7954, allocations: 35.94 kB / 1.281 GB, free: 13.55 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003749/0.7958, allocations: 167.5 kB / 1.281 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003121/0.7961, allocations: 87.88 kB / 1.281 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7961, allocations: 0 / 1.281 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.7962, allocations: 48.11 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.7965, allocations: 15.92 kB / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004846/0.797, allocations: 215.9 kB / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.7974, allocations: 0.6885 MB / 1.282 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.893e-05/0.7974, allocations: 11.98 kB / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.7974, allocations: 11.44 kB / 1.282 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.7974, allocations: 0 / 1.282 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of Templates: time 0.00511/0.8025, allocations: 1.762 MB / 1.283 GB, free: 10.52 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.pOpen,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0 [Calling sys.exit(0), Time elapsed: 8.912924138829112]