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.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.001647/0.001647, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.00166/0.00166, allocations: 160.3 kB / 23.01 MB, free: 4.598 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.442/1.442, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.7/2.7, allocations: 359.1 MB / 0.6044 GB, free: 14.9 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.003356/0.003356, allocations: 63.91 kB / 0.9515 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3569, allocations: 169.9 MB / 1.117 GB, free: 2.617 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.003384/0.3602, allocations: 1.532 MB / 1.119 GB, free: 1.074 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001718/0.362, allocations: 0.7907 MB / 1.12 GB, free: 284 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.168e-05/0.362, allocations: 0 / 1.12 GB, free: 284 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.153e-05/0.3621, allocations: 7.875 kB / 1.12 GB, free: 276 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.97e-05/0.3621, allocations: 15.81 kB / 1.12 GB, free: 260 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006803/0.3628, allocations: 159.5 kB / 1.12 GB, free: 100 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.363, allocations: 103.8 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.3631, allocations: 23.86 kB / 1.12 GB, free: 15.97 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.3633, allocations: 47.91 kB / 1.12 GB, free: 15.93 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.3634, allocations: 51.8 kB / 1.12 GB, free: 15.88 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.3634, allocations: 8 kB / 1.12 GB, free: 15.87 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003435/0.3638, allocations: 135.8 kB / 1.12 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.804e-05/0.3638, allocations: 31.89 kB / 1.12 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.247e-05/0.3639, allocations: 35.86 kB / 1.12 GB, free: 15.67 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003375/0.3642, allocations: 171.5 kB / 1.12 GB, free: 15.5 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3642, allocations: 0 / 1.12 GB, free: 15.5 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3642, allocations: 0 / 1.12 GB, free: 15.5 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.3642, allocations: 7.938 kB / 1.12 GB, free: 15.49 MB / 1.076 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.0007664/0.365, allocations: 389.2 kB / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.365, allocations: 8.031 kB / 1.121 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005571/0.3656, allocations: 48.86 kB / 1.121 GB, free: 15.02 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.3659, allocations: 138.3 kB / 1.121 GB, free: 14.86 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.3659, allocations: 384 / 1.121 GB, free: 14.86 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.3659, allocations: 16.38 kB / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.3662, allocations: 85.94 kB / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3662, allocations: 0 / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.3662, allocations: 4 kB / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.3662, allocations: 0 / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.3664, allocations: 51.89 kB / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007359/0.3671, allocations: 268.5 kB / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.3673, allocations: 62.48 kB / 1.121 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.3675, allocations: 40.83 kB / 1.122 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.3675, allocations: 4 kB / 1.122 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/0.3677, allocations: 91.39 kB / 1.122 GB, free: 14.18 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.3677, allocations: 0 / 1.122 GB, free: 14.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0006287/0.3684, allocations: 201.7 kB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.3684, allocations: 55.41 kB / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.3685, allocations: 125.8 kB / 1.122 GB, free: 13.78 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.3686, allocations: 29.7 kB / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.763e-05/0.3686, allocations: 100.1 kB / 1.122 GB, free: 13.64 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.3687, allocations: 19.78 kB / 1.122 GB, free: 13.62 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.302e-05/0.3687, allocations: 29.7 kB / 1.122 GB, free: 13.59 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3689, allocations: 322.8 kB / 1.122 GB, free: 13.27 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-05/0.369, allocations: 35.92 kB / 1.122 GB, free: 13.23 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.3691, allocations: 68.2 kB / 1.123 GB, free: 13.15 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.3693, allocations: 92.16 kB / 1.123 GB, free: 13.04 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3693, allocations: 0 / 1.123 GB, free: 13.04 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003058/0.3696, allocations: 141.5 kB / 1.123 GB, free: 12.9 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3696, allocations: 8 kB / 1.123 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3696, allocations: 0 / 1.123 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3697, allocations: 0 / 1.123 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.3698, allocations: 15.98 kB / 1.123 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.3698, allocations: 4 kB / 1.123 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.784e-05/0.3699, allocations: 7.953 kB / 1.123 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.3699, allocations: 11.98 kB / 1.123 GB, free: 12.85 MB / 1.076 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.0001151/0.37, allocations: 125.7 kB / 1.123 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.37, allocations: 11.98 kB / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.37, allocations: 12.5 kB / 1.123 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3701, allocations: 4 kB / 1.123 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3701, allocations: 0 / 1.123 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.3701, allocations: 3.984 kB / 1.123 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006403/0.3707, allocations: 370 kB / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3707, allocations: 0 / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.232e-05/0.3707, allocations: 7.984 kB / 1.123 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3708, allocations: 4 kB / 1.123 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.3708, allocations: 4 kB / 1.123 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.3708, allocations: 3.984 kB / 1.123 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3708, allocations: 0 / 1.123 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004713/0.3712, allocations: 255.4 kB / 1.124 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.485e-05/0.3713, allocations: 7.953 kB / 1.124 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.3713, allocations: 4 kB / 1.124 GB, free: 11.99 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.3714, allocations: 7.984 kB / 1.124 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.335e-05/0.3715, allocations: 7.984 kB / 1.124 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.3715, allocations: 4 kB / 1.124 GB, free: 11.97 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.651e-05/0.3716, allocations: 102.6 kB / 1.124 GB, free: 11.88 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3716, allocations: 0 / 1.124 GB, free: 11.88 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003751/0.3719, allocations: 51.8 kB / 1.124 GB, free: 11.82 MB / 1.076 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.0005369/0.3725, allocations: 161.3 kB / 1.124 GB, free: 11.68 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003838/0.3729, allocations: 95.92 kB / 1.124 GB, free: 11.58 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3729, allocations: 0 / 1.124 GB, free: 11.58 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.3731, allocations: 43.97 kB / 1.124 GB, free: 11.54 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.3734, allocations: 12.7 kB / 1.124 GB, free: 11.53 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006244/0.374, allocations: 204.6 kB / 1.124 GB, free: 11.3 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.3741, allocations: 87.25 kB / 1.124 GB, free: 11.2 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.889e-05/0.3742, allocations: 7.984 kB / 1.124 GB, free: 11.19 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.972e-05/0.3742, allocations: 12.5 kB / 1.124 GB, free: 11.18 MB / 1.076 GB Notification: Performance of SimCode: time 8.02e-07/0.3742, allocations: 0 / 1.124 GB, free: 11.18 MB / 1.076 GB Notification: Performance of Templates: time 0.00604/0.3802, allocations: 1.798 MB / 1.126 GB, free: 9.402 MB / 1.076 GB " [Timeout remaining time 300] 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 ida -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/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.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.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0 [Calling sys.exit(0), Time elapsed: 8.657331333030015]