Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002144/0.002144, allocations: 217.3 kB / 23.01 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.185/3.185, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 67.52 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3416, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.00292/0.3445, allocations: 1.546 MB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.3459, allocations: 0.7208 MB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.849e-05/0.346, allocations: 3.938 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.683e-05/0.3461, allocations: 3.938 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.373e-05/0.3461, allocations: 15.8 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005709/0.3467, allocations: 143.6 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.3468, allocations: 119.6 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.359e-05/0.3469, allocations: 15.92 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.3471, allocations: 51.91 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.575e-05/0.3472, allocations: 55.75 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.3472, allocations: 8 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002779/0.3475, allocations: 135.8 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.839e-05/0.3475, allocations: 47.89 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.55e-05/0.3476, allocations: 39.67 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003123/0.3479, allocations: 211.2 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3479, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3479, allocations: 3.938 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3479, allocations: 4 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007802/0.3487, allocations: 469.8 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.3487, allocations: 8.031 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005668/0.3493, allocations: 56.75 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.3496, allocations: 142.3 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.3496, allocations: 8.375 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.3496, allocations: 12.31 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/0.35, allocations: 213.7 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.515e-06/0.35, allocations: 0 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.35, allocations: 4 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.35, allocations: 4 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002526/0.3503, allocations: 111.9 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007599/0.351, allocations: 312.2 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.3513, allocations: 126.8 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.3514, allocations: 105.1 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.3515, allocations: 8 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003339/0.3518, allocations: 235.4 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=41): time 1.744e-06/0.3518, allocations: 0 / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=41): time 0.0009715/0.3528, allocations: 0.5578 MB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.3528, allocations: 95.44 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.353, allocations: 146 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.606e-05/0.353, allocations: 53.69 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.377e-05/0.3531, allocations: 97.09 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.3532, allocations: 111.2 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.3533, allocations: 98.11 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3535, allocations: 338.8 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.3538, allocations: 193 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/0.3541, allocations: 259.8 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006759/0.3548, allocations: 0.4942 MB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.3548, allocations: 7.875 kB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0008/0.3556, allocations: 0.5297 MB / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3556, allocations: 4 kB / 1.335 GB, free: 8.902 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.3556, allocations: 4 kB / 1.335 GB, free: 8.898 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.3556, allocations: 0 / 1.335 GB, free: 8.898 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.3558, allocations: 27.86 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.3558, allocations: 4 kB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.3559, allocations: 47.66 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.356, allocations: 12.16 kB / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 77 (win.state[33],$PRE.win.state[33],win.state[32],$PRE.win.state[32],win.state[31],$PRE.win.state[31],win.state[30],$PRE.win.state[30],win.state[29],$PRE.win.state[29],win.state[28],$PRE.win.state[28],win.state[27],$PRE.win.state[27],win.state[26],$PRE.win.state[26],win.state[25],$PRE.win.state[25],win.state[24],$PRE.win.state[24],win.state[23],$PRE.win.state[23],win.state[22],$PRE.win.state[22],win.state[21],$PRE.win.state[21],win.state[20],$PRE.win.state[20],win.state[19],$PRE.win.state[19],win.state[18],$PRE.win.state[18],win.state[17],$PRE.win.state[17],win.state[16],$PRE.win.state[16],win.state[15],$PRE.win.state[15],win.state[14],$PRE.win.state[14],win.state[13],$PRE.win.state[13],win.state[12],$PRE.win.state[12],win.state[11],$PRE.win.state[11],win.state[10],$PRE.win.state[10],win.state[9],$PRE.win.state[9],win.state[8],$PRE.win.state[8],win.state[7],$PRE.win.state[7],win.state[6],$PRE.win.state[6],win.state[5],$PRE.win.state[5],win.state[4],$PRE.win.state[4],win.state[3],$PRE.win.state[3],win.state[2],$PRE.win.state[2],win.state[1],$PRE.win.state[1],win.ran,$PRE.win.ran,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 (47): * Single equations (assignments): 46 * Array equations: 1 * 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.0002106/0.3562, allocations: 207.5 kB / 1.335 GB, free: 8.594 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.3562, allocations: 15.86 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.3562, allocations: 14.31 kB / 1.335 GB, free: 8.559 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3562, allocations: 0 / 1.335 GB, free: 8.559 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3562, allocations: 0 / 1.335 GB, free: 8.559 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.638e-05/0.3563, allocations: 19.83 kB / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.911e-05/0.3563, allocations: 31.98 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.3564, allocations: 7.984 kB / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.3565, allocations: 11.94 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007092/0.3572, allocations: 478.3 kB / 1.336 GB, free: 8.012 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007464/0.3579, allocations: 0.5622 MB / 1.336 GB, free: 7.434 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000228/0.3581, allocations: 111.9 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.937e-05/0.3582, allocations: 104.9 kB / 1.336 GB, free: 7.223 MB / 1.029 GB Notification: Performance of Backend: time 3.41e-07/0.3582, allocations: 0 / 1.336 GB, free: 7.223 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009549/0.3592, allocations: 375 kB / 1.337 GB, free: 6.871 MB / 1.029 GB Notification: Performance of SimCode: time 0.000764/0.3599, allocations: 0.753 MB / 1.337 GB, free: 6.074 MB / 1.029 GB Notification: Performance of Templates: time 0.006281/0.3662, allocations: 2.667 MB / 1.34 GB, free: 3.441 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_12_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_12_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_12_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.continuous,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.globalSeed,win.localSeed,win.occ,win.on,win.pOpen,win.samplePeriod,win.t0 [Calling sys.exit(0), Time elapsed: 8.615804616994865]