Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.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.001507/0.001507, allocations: 79.75 kB / 19.76 MB, free: 2.02 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.001365/0.001365, allocations: 156.5 kB / 23 MB, free: 4.949 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.471/1.471, allocations: 177.2 MB / 203.4 MB, free: 8.949 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.72/2.72, allocations: 359.1 MB / 0.6044 GB, free: 14.8 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.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occ.occ",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occ.occ",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") [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.002401/0.002401, allocations: 68.12 kB / 0.9515 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3577, allocations: 169.9 MB / 1.117 GB, free: 2.5 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002683/0.3603, allocations: 1.346 MB / 1.119 GB, free: 1.141 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008404/0.3612, allocations: 355 kB / 1.119 GB, free: 0.793 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.837e-05/0.3612, allocations: 4 kB / 1.119 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.853e-05/0.3613, allocations: 3.938 kB / 1.119 GB, free: 0.7852 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.458e-05/0.3613, allocations: 7.938 kB / 1.119 GB, free: 0.7773 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005027/0.3618, allocations: 99.69 kB / 1.119 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.3619, allocations: 59.77 kB / 1.119 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.334e-05/0.362, allocations: 4 kB / 1.119 GB, free: 0.6172 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.923e-05/0.362, allocations: 19.98 kB / 1.119 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.372e-05/0.3621, allocations: 15.92 kB / 1.119 GB, free: 0.582 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.3621, allocations: 4 kB / 1.119 GB, free: 0.5781 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002783/0.3624, allocations: 119.8 kB / 1.119 GB, free: 472 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.913e-05/0.3624, allocations: 23.92 kB / 1.119 GB, free: 448 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.237e-05/0.3625, allocations: 43.73 kB / 1.119 GB, free: 404 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.3627, allocations: 167.4 kB / 1.12 GB, free: 236 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3627, allocations: 0 / 1.12 GB, free: 236 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3628, allocations: 0 / 1.12 GB, free: 236 kB / 1.061 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.3628, allocations: 0 / 1.12 GB, free: 236 kB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005606/0.3633, allocations: 439.2 kB / 1.12 GB, free: 15.76 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3634, allocations: 12.03 kB / 1.12 GB, free: 15.75 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002273/0.3636, allocations: 16.89 kB / 1.12 GB, free: 15.73 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.3637, allocations: 130.3 kB / 1.12 GB, free: 15.58 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.3637, allocations: 384 / 1.12 GB, free: 15.58 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.3637, allocations: 8.359 kB / 1.12 GB, free: 15.57 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003925/0.3641, allocations: 335.8 kB / 1.121 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.3641, allocations: 4.125 kB / 1.121 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.3642, allocations: 7.938 kB / 1.121 GB, free: 15.22 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3642, allocations: 0 / 1.121 GB, free: 15.22 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/0.3644, allocations: 237.6 kB / 1.121 GB, free: 14.98 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.3646, allocations: 117.2 kB / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.3649, allocations: 260.1 kB / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002549/0.3651, allocations: 242.5 kB / 1.121 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.3651, allocations: 0 / 1.121 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005447/0.3657, allocations: 473.3 kB / 1.122 GB, free: 13.83 MB / 1.076 GB Notification: Performance of pre-optimization done (n=39): time 3.396e-06/0.3657, allocations: 4 kB / 1.122 GB, free: 13.82 MB / 1.076 GB Notification: Performance of matching and sorting (n=39): time 0.001063/0.3667, allocations: 0.8878 MB / 1.123 GB, free: 12.91 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.465e-05/0.3668, allocations: 109.1 kB / 1.123 GB, free: 12.79 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.983e-05/0.3669, allocations: 93.86 kB / 1.123 GB, free: 12.69 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.3669, allocations: 29.7 kB / 1.123 GB, free: 12.65 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.67e-05/0.367, allocations: 84.78 kB / 1.123 GB, free: 12.57 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.423e-05/0.3671, allocations: 75.39 kB / 1.123 GB, free: 12.49 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.429e-05/0.3671, allocations: 37.69 kB / 1.123 GB, free: 12.45 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3673, allocations: 326.8 kB / 1.123 GB, free: 12.12 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.3675, allocations: 177.6 kB / 1.124 GB, free: 11.94 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.3677, allocations: 173.7 kB / 1.124 GB, free: 11.77 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004236/0.3681, allocations: 413.4 kB / 1.124 GB, free: 11.35 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.3681, allocations: 3.938 kB / 1.124 GB, free: 11.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000508/0.3686, allocations: 461.8 kB / 1.125 GB, free: 10.88 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.842e-05/0.3687, allocations: 80.78 kB / 1.125 GB, free: 10.79 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.3687, allocations: 0 / 1.125 GB, free: 10.79 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3687, allocations: 3.938 kB / 1.125 GB, free: 10.79 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.761e-05/0.3688, allocations: 7.984 kB / 1.125 GB, free: 10.78 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.3688, allocations: 0 / 1.125 GB, free: 10.78 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.848e-05/0.3689, allocations: 19.84 kB / 1.125 GB, free: 10.76 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.3689, allocations: 8 kB / 1.125 GB, free: 10.75 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 (occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,occ.hold_time,occ.tNext,$PRE.occ.tNext,occ.mu,occ.occ,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0002527/0.3691, allocations: 246.1 kB / 1.125 GB, free: 10.5 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.3692, allocations: 23.91 kB / 1.125 GB, free: 10.47 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.672e-05/0.3692, allocations: 13.23 kB / 1.125 GB, free: 10.46 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.237e-06/0.3692, allocations: 4 kB / 1.125 GB, free: 10.46 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3692, allocations: 0 / 1.125 GB, free: 10.46 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3692, allocations: 0 / 1.125 GB, free: 10.46 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.3694, allocations: 153.2 kB / 1.125 GB, free: 10.28 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3694, allocations: 0 / 1.125 GB, free: 10.28 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-07/0.3694, allocations: 0 / 1.125 GB, free: 10.28 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3694, allocations: 0 / 1.125 GB, free: 10.28 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.3694, allocations: 12 kB / 1.125 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.3694, allocations: 7.938 kB / 1.125 GB, free: 10.26 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.3694, allocations: 11.98 kB / 1.125 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009656/0.3704, allocations: 0.7968 MB / 1.126 GB, free: 9.418 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.991e-05/0.3704, allocations: 19.78 kB / 1.126 GB, free: 9.398 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.3705, allocations: 79.94 kB / 1.126 GB, free: 9.32 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.149e-05/0.3706, allocations: 11.94 kB / 1.126 GB, free: 9.309 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.3706, allocations: 8 kB / 1.126 GB, free: 9.301 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.3706, allocations: 11.98 kB / 1.126 GB, free: 9.289 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.523e-05/0.3707, allocations: 83.45 kB / 1.126 GB, free: 9.207 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.3707, allocations: 7.938 kB / 1.126 GB, free: 9.199 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003094/0.371, allocations: 67.98 kB / 1.126 GB, free: 9.133 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: 39 ($whenCondition1,occ.occ,occ.mu,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 39 (occ.tNext,occ.hold_time,occ.mu,occ.occ,occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0004715/0.3715, allocations: 252.1 kB / 1.126 GB, free: 8.895 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008718/0.3723, allocations: 0.7211 MB / 1.127 GB, free: 8.148 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3723, allocations: 0 / 1.127 GB, free: 8.148 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004533/0.3728, allocations: 424.9 kB / 1.128 GB, free: 7.715 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.373, allocations: 22.33 kB / 1.128 GB, free: 7.695 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006812/0.3737, allocations: 448.9 kB / 1.128 GB, free: 7.219 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.3738, allocations: 105.6 kB / 1.128 GB, free: 7.094 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.767e-05/0.3738, allocations: 0 / 1.128 GB, free: 7.094 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.875e-05/0.3739, allocations: 8.5 kB / 1.128 GB, free: 7.086 MB / 1.076 GB Notification: Performance of SimCode: time 6.41e-07/0.3739, allocations: 0 / 1.128 GB, free: 7.086 MB / 1.076 GB Notification: Performance of Templates: time 0.00804/0.3819, allocations: 2.757 MB / 1.131 GB, free: 4.367 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.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.745543789002113]