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.001852/0.001852, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002474/0.002474, allocations: 216.1 kB / 22.25 MB, free: 5.113 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.604/1.604, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.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.908/2.908, allocations: 476.7 MB / 0.7706 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 176] 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.002083/0.002083, allocations: 67.31 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.387, allocations: 170 MB / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.003098/0.3901, allocations: 1.556 MB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.3917, allocations: 0.8392 MB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.298e-05/0.3917, allocations: 0 / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.745e-05/0.3918, allocations: 11.86 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.411e-05/0.3918, allocations: 15.86 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007098/0.3925, allocations: 163.5 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.3927, allocations: 107.7 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.3928, allocations: 11.98 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.393, allocations: 51.89 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.3931, allocations: 51.81 kB / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.3932, allocations: 8 kB / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003272/0.3935, allocations: 147.8 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.422e-05/0.3936, allocations: 31.89 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.008e-05/0.3936, allocations: 47.78 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.394, allocations: 167.5 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.394, allocations: 0 / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.394, allocations: 4 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.394, allocations: 0 / 1.287 GB, free: 8.066 MB / 0.9825 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.0007231/0.3947, allocations: 389.2 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.3947, allocations: 12.03 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005048/0.3953, allocations: 44.8 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.3955, allocations: 134.3 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.3956, allocations: 12.38 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.3956, allocations: 8.359 kB / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.3958, allocations: 93.94 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3959, allocations: 3.938 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.3959, allocations: 4 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.3959, allocations: 0 / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.3961, allocations: 47.91 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007771/0.3968, allocations: 319.8 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.397, allocations: 58.53 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.3971, allocations: 48.92 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.3972, allocations: 3.938 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.3974, allocations: 87.36 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.3974, allocations: 0 / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005939/0.398, allocations: 185.5 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.398, allocations: 63.55 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.3983, allocations: 128.9 kB / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.3983, allocations: 33.7 kB / 1.289 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.174e-05/0.3984, allocations: 96.02 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.3984, allocations: 19.84 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.025e-05/0.3985, allocations: 33.7 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002186/0.3987, allocations: 322.8 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.45e-05/0.3988, allocations: 31.98 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.3989, allocations: 60.27 kB / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.3991, allocations: 96.2 kB / 1.289 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3991, allocations: 0 / 1.289 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002953/0.3994, allocations: 129.5 kB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.3994, allocations: 8 kB / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.3994, allocations: 0 / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.3995, allocations: 4 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.3996, allocations: 11.98 kB / 1.289 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.3996, allocations: 4.094 kB / 1.289 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.002e-05/0.3997, allocations: 19.94 kB / 1.289 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.3997, allocations: 4 kB / 1.289 GB, free: 5.375 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.0001515/0.3999, allocations: 121.7 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.3999, allocations: 15.89 kB / 1.289 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/0.3999, allocations: 8.375 kB / 1.289 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.3999, allocations: 3.984 kB / 1.289 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3999, allocations: 0 / 1.289 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.4, allocations: 4 kB / 1.289 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007901/0.4007, allocations: 401.4 kB / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4007, allocations: 4 kB / 1.29 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.281e-05/0.4008, allocations: 12.05 kB / 1.29 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4008, allocations: 4 kB / 1.29 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.4008, allocations: 0 / 1.29 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4008, allocations: 3.938 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.4008, allocations: 3.938 kB / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004493/0.4013, allocations: 251.5 kB / 1.29 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.862e-05/0.4013, allocations: 7.953 kB / 1.29 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.4013, allocations: 0 / 1.29 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.4014, allocations: 7.984 kB / 1.29 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.4015, allocations: 11.94 kB / 1.29 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.4015, allocations: 15.92 kB / 1.29 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001027/0.4016, allocations: 95.27 kB / 1.29 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5e-08/0.4016, allocations: 0 / 1.29 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004215/0.402, allocations: 35.94 kB / 1.29 GB, free: 4.309 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.0004849/0.4025, allocations: 169.3 kB / 1.29 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003302/0.4028, allocations: 91.89 kB / 1.291 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4028, allocations: 0 / 1.291 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.403, allocations: 43.95 kB / 1.291 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.4033, allocations: 14.48 kB / 1.291 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006417/0.404, allocations: 212.6 kB / 1.291 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/0.4045, allocations: 0.6962 MB / 1.291 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.029e-05/0.4045, allocations: 7.938 kB / 1.291 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.939e-05/0.4045, allocations: 15.42 kB / 1.292 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.4045, allocations: 0 / 1.292 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of Templates: time 0.006274/0.4108, allocations: 1.788 MB / 1.293 GB, free: 1.242 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 -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/jenkins/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: 9.467524393927306]