Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.001687/0.001687, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.002202/0.002202, allocations: 192.3 kB / 22.17 MB, free: 5.656 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.543/1.543, 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.971/2.971, allocations: 476.7 MB / 0.7645 GB, free: 10.09 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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.89 kB / 1.109 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8801/0.8821, allocations: 168.7 MB / 1.274 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.003126/0.8852, allocations: 1.533 MB / 1.276 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.8867, allocations: 0.765 MB / 1.276 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.001e-05/0.8868, allocations: 0 / 1.276 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.083e-05/0.8868, allocations: 7.922 kB / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.099e-05/0.8869, allocations: 15.88 kB / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006007/0.8875, allocations: 143.5 kB / 1.276 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.8876, allocations: 103.8 kB / 1.277 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.779e-05/0.8877, allocations: 11.8 kB / 1.277 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.8878, allocations: 47.83 kB / 1.277 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.521e-05/0.8879, allocations: 55.8 kB / 1.277 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.888, allocations: 11.94 kB / 1.277 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002167/0.8882, allocations: 103.9 kB / 1.277 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.115e-05/0.8882, allocations: 27.91 kB / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.889e-05/0.8883, allocations: 43.84 kB / 1.277 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.8886, allocations: 166.2 kB / 1.277 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.8886, allocations: 0 / 1.277 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.532e-06/0.8886, allocations: 0 / 1.277 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.8886, allocations: 0 / 1.277 GB, free: 1.527 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.0007876/0.8894, allocations: 462.3 kB / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.8894, allocations: 12.03 kB / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.8894, allocations: 8.891 kB / 1.277 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.8896, allocations: 187.8 kB / 1.278 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.8896, allocations: 384 / 1.278 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.8897, allocations: 12.38 kB / 1.278 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.8899, allocations: 89.88 kB / 1.278 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.89, allocations: 0 / 1.278 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.89, allocations: 3.984 kB / 1.278 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.89, allocations: 0 / 1.278 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.8902, allocations: 47.97 kB / 1.278 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008585/0.891, allocations: 344.7 kB / 1.278 GB, free: 240 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.8912, allocations: 54.55 kB / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.8913, allocations: 44.83 kB / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.8914, allocations: 4 kB / 1.278 GB, free: 124 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002904/0.8917, allocations: 95.3 kB / 1.278 GB, free: 16 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.8917, allocations: 0 / 1.278 GB, free: 16 kB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0006415/0.8923, allocations: 189.7 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/0.8924, allocations: 59.41 kB / 1.279 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.8925, allocations: 125.8 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.8925, allocations: 33.7 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.798e-05/0.8926, allocations: 92.12 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.8926, allocations: 15.84 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.769e-05/0.8927, allocations: 33.7 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.8928, allocations: 322.8 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-05/0.8929, allocations: 31.98 kB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.8931, allocations: 68.27 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.8933, allocations: 100.1 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.8933, allocations: 3.938 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002767/0.8936, allocations: 125.5 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.8936, allocations: 8 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.8936, allocations: 0 / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.8936, allocations: 4 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.8937, allocations: 19.92 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.8937, allocations: 8.094 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.02e-05/0.8938, allocations: 7.953 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.8938, allocations: 7.984 kB / 1.279 GB, free: 14.7 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.0001207/0.894, allocations: 127.4 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.894, allocations: 7.953 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.657e-05/0.894, allocations: 8.375 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.894, allocations: 3.938 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.894, allocations: 4.062 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.894, allocations: 7.984 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006711/0.8947, allocations: 426.4 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.8947, allocations: 0 / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.02e-05/0.8947, allocations: 4 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.8948, allocations: 3.984 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.8948, allocations: 4 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.8948, allocations: 0 / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.8948, allocations: 11.88 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004443/0.8952, allocations: 243.4 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.127e-05/0.8953, allocations: 92.98 kB / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.8953, allocations: 0 / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.8954, allocations: 4 kB / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.8955, allocations: 15.92 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.8955, allocations: 7.984 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.723e-05/0.8956, allocations: 95.27 kB / 1.281 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8956, allocations: 0 / 1.281 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003453/0.8959, allocations: 39.94 kB / 1.281 GB, free: 13.5 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.0004252/0.8963, allocations: 169.3 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000378/0.8967, allocations: 95.81 kB / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8967, allocations: 0 / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.8969, allocations: 43.95 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.8972, allocations: 8 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005481/0.8977, allocations: 225.2 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.898, allocations: 0.6924 MB / 1.282 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.498e-05/0.8981, allocations: 4 kB / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.425e-05/0.8981, allocations: 15.38 kB / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.8981, allocations: 0 / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of Templates: time 0.005206/0.9033, allocations: 1.765 MB / 1.283 GB, free: 10.46 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0 [Calling sys.exit(0), Time elapsed: 9.209494643844664]