Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.00164/0.00164, allocations: 78.17 kB / 19.76 MB, free: 2.035 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.001926/0.001926, allocations: 158.1 kB / 23.01 MB, free: 4.945 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.462/1.462, allocations: 177.2 MB / 203.4 MB, free: 8.957 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.814/2.814, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 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.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") [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.002135/0.002135, allocations: 67.91 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3627, allocations: 169.9 MB / 1.117 GB, free: 2.527 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002988/0.3657, allocations: 1.642 MB / 1.119 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001654/0.3673, allocations: 0.8375 MB / 1.12 GB, free: 28 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.954e-05/0.3674, allocations: 7.938 kB / 1.12 GB, free: 20 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.786e-05/0.3674, allocations: 11.86 kB / 1.12 GB, free: 8 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.082e-05/0.3675, allocations: 19.73 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006576/0.3682, allocations: 195.4 kB / 1.12 GB, free: 15.8 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000203/0.3684, allocations: 155.5 kB / 1.12 GB, free: 15.64 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.519e-05/0.3685, allocations: 25.28 kB / 1.12 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.3686, allocations: 67.83 kB / 1.12 GB, free: 15.55 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.3688, allocations: 71.72 kB / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.2e-05/0.3688, allocations: 15.94 kB / 1.12 GB, free: 15.47 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003012/0.3691, allocations: 143.8 kB / 1.121 GB, free: 15.33 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.621e-05/0.3691, allocations: 31.89 kB / 1.121 GB, free: 15.3 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.637e-05/0.3692, allocations: 59.7 kB / 1.121 GB, free: 15.24 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003213/0.3695, allocations: 219.2 kB / 1.121 GB, free: 15.02 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3695, allocations: 0 / 1.121 GB, free: 15.02 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3695, allocations: 0 / 1.121 GB, free: 15.02 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.3695, allocations: 0 / 1.121 GB, free: 15.02 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008153/0.3704, allocations: 492.3 kB / 1.121 GB, free: 14.49 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.3704, allocations: 8.031 kB / 1.121 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007282/0.3711, allocations: 84.77 kB / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.3714, allocations: 159.5 kB / 1.122 GB, free: 14.22 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.3714, allocations: 8.375 kB / 1.122 GB, free: 14.21 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.3715, allocations: 4.375 kB / 1.122 GB, free: 14.21 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004765/0.3719, allocations: 157.7 kB / 1.122 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.3719, allocations: 0 / 1.122 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.372, allocations: 0 / 1.122 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.372, allocations: 0 / 1.122 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004249/0.3724, allocations: 99.91 kB / 1.122 GB, free: 13.95 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007568/0.3731, allocations: 308.3 kB / 1.122 GB, free: 13.62 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003783/0.3735, allocations: 90.45 kB / 1.122 GB, free: 13.52 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003248/0.3738, allocations: 88.78 kB / 1.122 GB, free: 13.43 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.3739, allocations: 4 kB / 1.122 GB, free: 13.43 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004205/0.3743, allocations: 135.3 kB / 1.122 GB, free: 13.28 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.3743, allocations: 0 / 1.122 GB, free: 13.28 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.001222/0.3755, allocations: 321.2 kB / 1.123 GB, free: 12.96 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.3756, allocations: 55.41 kB / 1.123 GB, free: 12.89 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.3757, allocations: 153.8 kB / 1.123 GB, free: 12.74 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.3758, allocations: 29.7 kB / 1.123 GB, free: 12.7 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.881e-05/0.3758, allocations: 108.3 kB / 1.123 GB, free: 12.59 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.3759, allocations: 27.92 kB / 1.123 GB, free: 12.56 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.285e-05/0.3759, allocations: 29.7 kB / 1.123 GB, free: 12.53 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3761, allocations: 330.8 kB / 1.123 GB, free: 12.2 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.3762, allocations: 39.97 kB / 1.123 GB, free: 12.16 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.3764, allocations: 80.62 kB / 1.124 GB, free: 12.06 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.3767, allocations: 125 kB / 1.124 GB, free: 11.92 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3767, allocations: 0 / 1.124 GB, free: 11.92 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003787/0.3771, allocations: 161.4 kB / 1.124 GB, free: 11.76 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3771, allocations: 4 kB / 1.124 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.3771, allocations: 4 kB / 1.124 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3771, allocations: 0 / 1.124 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.3773, allocations: 31.91 kB / 1.124 GB, free: 11.72 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.3773, allocations: 0 / 1.124 GB, free: 11.72 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.3774, allocations: 16.08 kB / 1.124 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.3774, allocations: 11.98 kB / 1.124 GB, free: 11.69 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,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.0001189/0.3775, allocations: 129.7 kB / 1.124 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.3775, allocations: 11.89 kB / 1.124 GB, free: 11.54 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.3776, allocations: 12.78 kB / 1.124 GB, free: 11.53 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3776, allocations: 3.984 kB / 1.124 GB, free: 11.53 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3776, allocations: 0 / 1.124 GB, free: 11.53 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3776, allocations: 4 kB / 1.124 GB, free: 11.52 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.3786, allocations: 465.9 kB / 1.124 GB, free: 11.03 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3786, allocations: 0 / 1.124 GB, free: 11.03 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.752e-05/0.3787, allocations: 15.97 kB / 1.124 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3787, allocations: 4 kB / 1.124 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.3787, allocations: 4.578 kB / 1.124 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3787, allocations: 3.938 kB / 1.124 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3787, allocations: 0 / 1.124 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008404/0.3796, allocations: 343.1 kB / 1.125 GB, free: 10.65 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.022e-05/0.3796, allocations: 11.91 kB / 1.125 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.3796, allocations: 4 kB / 1.125 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.3799, allocations: 19.97 kB / 1.125 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.501e-05/0.3799, allocations: 7.984 kB / 1.125 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.38, allocations: 11.92 kB / 1.125 GB, free: 10.6 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001055/0.3801, allocations: 115.2 kB / 1.125 GB, free: 10.48 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3801, allocations: 0 / 1.125 GB, free: 10.48 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003968/0.3805, allocations: 47.88 kB / 1.125 GB, free: 10.44 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004786/0.3809, allocations: 169.8 kB / 1.125 GB, free: 10.28 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005856/0.3815, allocations: 147.8 kB / 1.125 GB, free: 10.14 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3815, allocations: 0 / 1.125 GB, free: 10.14 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003537/0.3819, allocations: 83.86 kB / 1.125 GB, free: 10.05 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.3822, allocations: 8 kB / 1.125 GB, free: 10.05 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007835/0.383, allocations: 276.7 kB / 1.126 GB, free: 9.75 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.467e-05/0.3831, allocations: 93.25 kB / 1.126 GB, free: 9.637 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.282e-05/0.3831, allocations: 8.734 kB / 1.126 GB, free: 9.629 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.234e-05/0.3832, allocations: 16.48 kB / 1.126 GB, free: 9.613 MB / 1.076 GB Notification: Performance of SimCode: time 4.61e-07/0.3832, allocations: 0 / 1.126 GB, free: 9.613 MB / 1.076 GB Notification: Performance of Templates: time 0.005849/0.389, allocations: 2.054 MB / 1.128 GB, free: 7.578 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.975305306026712]