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.001726/0.001726, allocations: 114.8 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.002076/0.002076, allocations: 201.4 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.491/1.491, allocations: 225.6 MB / 250.9 MB, free: 13.28 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.819/2.819, 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.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.001996/0.001996, allocations: 67.89 kB / 1.109 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8063/0.8083, allocations: 168.7 MB / 1.274 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002885/0.8112, allocations: 1.523 MB / 1.276 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.8126, allocations: 0.7767 MB / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.23e-05/0.8127, allocations: 0 / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.8127, allocations: 7.938 kB / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.566e-05/0.8127, allocations: 15.84 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005713/0.8133, allocations: 135.5 kB / 1.276 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.8135, allocations: 103.8 kB / 1.277 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.306e-05/0.8135, allocations: 19.78 kB / 1.277 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.8137, allocations: 43.84 kB / 1.277 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.311e-05/0.8137, allocations: 51.81 kB / 1.277 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.8138, allocations: 8 kB / 1.277 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002086/0.814, allocations: 111.9 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.606e-05/0.814, allocations: 23.91 kB / 1.277 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.783e-05/0.8141, allocations: 43.78 kB / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.8143, allocations: 166.3 kB / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.8143, allocations: 0 / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8143, allocations: 0 / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.8143, allocations: 0 / 1.277 GB, free: 1.539 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.0007252/0.8151, allocations: 462.4 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.8151, allocations: 12.03 kB / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.966e-05/0.8151, allocations: 8.891 kB / 1.277 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.8153, allocations: 180.2 kB / 1.278 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.8153, allocations: 4.375 kB / 1.278 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.8153, allocations: 8.375 kB / 1.278 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.8156, allocations: 93.88 kB / 1.278 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.8156, allocations: 3.938 kB / 1.278 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.8156, allocations: 4 kB / 1.278 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.8156, allocations: 7.984 kB / 1.278 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.8158, allocations: 47.95 kB / 1.278 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007988/0.8166, allocations: 344.7 kB / 1.278 GB, free: 240 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.8168, allocations: 54.55 kB / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.8169, allocations: 36.84 kB / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.8169, allocations: 4 kB / 1.278 GB, free: 132 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002539/0.8172, allocations: 99.34 kB / 1.278 GB, free: 20 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.8172, allocations: 96 / 1.278 GB, free: 20 kB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.000603/0.8178, allocations: 193.4 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.8179, allocations: 51.41 kB / 1.279 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.818, allocations: 129.8 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.818, allocations: 29.7 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/0.8181, allocations: 100.3 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.8181, allocations: 15.83 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-05/0.8181, allocations: 29.72 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.8183, allocations: 322.8 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.382e-05/0.8184, allocations: 31.97 kB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.8185, allocations: 68.28 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.8187, allocations: 100.1 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8187, allocations: 4 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000271/0.8189, allocations: 125.6 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.819, allocations: 11.98 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.819, allocations: 0 / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.819, allocations: 4 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.8191, allocations: 15.92 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.8191, allocations: 4 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.72e-05/0.8192, allocations: 7.953 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.8192, allocations: 4 kB / 1.279 GB, free: 14.71 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.0001117/0.8193, allocations: 131.5 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.8193, allocations: 11.94 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.351e-05/0.8194, allocations: 16.31 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.8194, allocations: 0 / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.8194, allocations: 0 / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.8194, allocations: 0 / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006435/0.82, allocations: 430.3 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.82, allocations: 8 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.799e-05/0.8201, allocations: 0 / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.8201, allocations: 4 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.8201, allocations: 3.984 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.8201, allocations: 0 / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.8201, allocations: 7.875 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004242/0.8205, allocations: 243.4 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.8206, allocations: 85.06 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.8206, allocations: 0 / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.8207, allocations: 11.98 kB / 1.28 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.8207, allocations: 11.92 kB / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.8208, allocations: 4 kB / 1.28 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.007e-05/0.8208, allocations: 94.02 kB / 1.281 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8208, allocations: 0 / 1.281 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003538/0.8212, allocations: 43.92 kB / 1.281 GB, free: 13.52 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.0003961/0.8216, allocations: 179.1 kB / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003198/0.8219, allocations: 91.83 kB / 1.281 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.8219, allocations: 192 / 1.281 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.822, allocations: 43.97 kB / 1.281 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.8223, allocations: 11.98 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005036/0.8228, allocations: 223.9 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.8232, allocations: 0.6885 MB / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.726e-05/0.8233, allocations: 15.92 kB / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/0.8233, allocations: 11.44 kB / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.8233, allocations: 0 / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of Templates: time 0.005128/0.8284, allocations: 1.766 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 gbode -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.211340323090553]