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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 200.2 kB / 22.18 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.816/2.816, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 67.84 kB / 1.109 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8216/0.8239, allocations: 168.7 MB / 1.274 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.003025/0.8269, allocations: 1.328 MB / 1.275 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009195/0.8278, allocations: 370.9 kB / 1.276 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.758e-05/0.8279, allocations: 0 / 1.276 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.596e-05/0.828, allocations: 3.938 kB / 1.276 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.105e-05/0.828, allocations: 3.938 kB / 1.276 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005412/0.8285, allocations: 83.78 kB / 1.276 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.8287, allocations: 59.83 kB / 1.276 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.872e-05/0.8287, allocations: 8 kB / 1.276 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.255e-05/0.8288, allocations: 23.86 kB / 1.276 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.957e-05/0.8288, allocations: 15.97 kB / 1.276 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.8288, allocations: 7.938 kB / 1.276 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002369/0.8291, allocations: 87.89 kB / 1.276 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.138e-05/0.8291, allocations: 27.92 kB / 1.276 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.621e-05/0.8292, allocations: 39.75 kB / 1.276 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.8295, allocations: 170 kB / 1.276 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.8295, allocations: 0 / 1.276 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8295, allocations: 0 / 1.276 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.8295, allocations: 4 kB / 1.276 GB, free: 2.32 MB / 0.9669 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.0006445/0.8301, allocations: 0.516 MB / 1.277 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.8302, allocations: 8.031 kB / 1.277 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.8303, allocations: 16.84 kB / 1.277 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.8305, allocations: 180.2 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.8305, allocations: 4.375 kB / 1.277 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.8305, allocations: 4.375 kB / 1.277 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/0.8309, allocations: 238.2 kB / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.8309, allocations: 192 / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.8309, allocations: 11.94 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.8309, allocations: 0 / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.8311, allocations: 147.9 kB / 1.277 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002517/0.8313, allocations: 201.4 kB / 1.277 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.8315, allocations: 158.5 kB / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.8317, allocations: 148.8 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.8317, allocations: 4 kB / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000466/0.8322, allocations: 399.7 kB / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=39): time 1.373e-06/0.8322, allocations: 0 / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of matching and sorting (n=39): time 0.0008591/0.833, allocations: 0.6932 MB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.643e-05/0.8331, allocations: 105.1 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.283e-05/0.8332, allocations: 101.8 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.8332, allocations: 29.7 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/0.8333, allocations: 82.38 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.69e-05/0.8333, allocations: 79.38 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/0.8334, allocations: 37.73 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.8335, allocations: 322.8 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.562e-05/0.8336, allocations: 83.97 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.766e-05/0.8337, allocations: 79.98 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003407/0.8341, allocations: 361.3 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8341, allocations: 0 / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003845/0.8344, allocations: 336.1 kB / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.42e-05/0.8345, allocations: 85.59 kB / 1.28 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.8345, allocations: 11.98 kB / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.8346, allocations: 0 / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.007e-05/0.8346, allocations: 0 / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.8346, allocations: 0 / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.8347, allocations: 19.89 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.8347, allocations: 4 kB / 1.28 GB, free: 13.63 MB / 0.9825 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.0002785/0.835, allocations: 267.7 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.882e-05/0.8351, allocations: 27.84 kB / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.414e-05/0.8351, allocations: 5.219 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.8351, allocations: 0 / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.8351, allocations: 4 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.8351, allocations: 3.984 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.8353, allocations: 249.4 kB / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.8353, allocations: 4 kB / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.8353, allocations: 0 / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.8353, allocations: 3.938 kB / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.8353, allocations: 15.94 kB / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.8353, allocations: 7.984 kB / 1.281 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.8353, allocations: 0 / 1.281 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.8366, allocations: 1.283 MB / 1.282 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.8367, allocations: 89 kB / 1.282 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.8368, allocations: 83.88 kB / 1.282 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.74e-05/0.8369, allocations: 8 kB / 1.282 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.8369, allocations: 4.188 kB / 1.282 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.837, allocations: 15.98 kB / 1.282 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.205e-05/0.837, allocations: 87.27 kB / 1.283 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.837, allocations: 0 / 1.283 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003201/0.8373, allocations: 71.92 kB / 1.283 GB, free: 11.31 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: 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.0004831/0.8378, allocations: 245.4 kB / 1.283 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.839, allocations: 1.108 MB / 1.284 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.839, allocations: 0 / 1.284 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008367/0.8398, allocations: 0.9286 MB / 1.285 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.84, allocations: 21.88 kB / 1.285 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000589/0.8406, allocations: 345.2 kB / 1.285 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.841, allocations: 0.7166 MB / 1.286 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.633e-05/0.841, allocations: 3.938 kB / 1.286 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.841, allocations: 7.438 kB / 1.286 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.841, allocations: 0 / 1.286 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of Templates: time 0.006462/0.8475, allocations: 2.7 MB / 1.289 GB, free: 5.18 MB / 0.9825 GB " [Timeout remaining time 299] 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 gbode -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_2/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.757899144198745]