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.00089/0.00089, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009624/0.0009624, allocations: 178.2 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9006/0.9006, allocations: 177.1 MB / 203.5 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.632/1.632, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.9517 GB, free: 3.078 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.382e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.074 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001654/0.001678, allocations: 1.364 MB / 0.953 GB, free: 1.695 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007067/0.002384, allocations: 363.4 kB / 0.9534 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.029e-05/0.002415, allocations: 0 / 0.9534 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 7.747e-05/0.002492, allocations: 3.938 kB / 0.9534 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.125e-05/0.002513, allocations: 7.938 kB / 0.9534 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.002914, allocations: 103.6 kB / 0.9535 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.375e-05/0.003007, allocations: 51.86 kB / 0.9535 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.003046, allocations: 3.938 kB / 0.9535 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.444e-05/0.00309, allocations: 27.97 kB / 0.9536 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.003138, allocations: 11.97 kB / 0.9536 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.00315, allocations: 4 kB / 0.9536 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.003315, allocations: 123.7 kB / 0.9537 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.722e-05/0.003353, allocations: 27.88 kB / 0.9537 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.003391, allocations: 35.91 kB / 0.9537 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.003585, allocations: 167.5 kB / 0.9539 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.003588, allocations: 0 / 0.9539 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.61e-07/0.003589, allocations: 0 / 0.9539 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.003593, allocations: 0 / 0.9539 GB, free: 0.7812 MB / 0.9011 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.0003616/0.003954, allocations: 443.2 kB / 0.9543 GB, free: 316 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.003986, allocations: 8.031 kB / 0.9543 GB, free: 308 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.004147, allocations: 24.83 kB / 0.9544 GB, free: 284 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.496e-05/0.004222, allocations: 117.7 kB / 0.9545 GB, free: 140 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.004238, allocations: 384 / 0.9545 GB, free: 140 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.004248, allocations: 4.375 kB / 0.9545 GB, free: 136 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.004506, allocations: 333.8 kB / 0.9548 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.004513, allocations: 4.188 kB / 0.9548 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.004522, allocations: 4.375 kB / 0.9548 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.004526, allocations: 384 / 0.9548 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.004671, allocations: 245.5 kB / 0.955 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001069/0.004777, allocations: 125 kB / 0.9552 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.004943, allocations: 256.2 kB / 0.9554 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.005076, allocations: 238.5 kB / 0.9556 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.005083, allocations: 4 kB / 0.9556 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003118/0.005395, allocations: 481.2 kB / 0.9561 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=39): time 1.012e-06/0.005396, allocations: 0 / 0.9561 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of matching and sorting (n=39): time 0.0006122/0.006008, allocations: 0.8802 MB / 0.957 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.006056, allocations: 109.1 kB / 0.9571 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.546e-05/0.006112, allocations: 105.8 kB / 0.9572 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.006123, allocations: 25.7 kB / 0.9572 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.232e-05/0.006145, allocations: 84.8 kB / 0.9573 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.923e-05/0.006194, allocations: 79.25 kB / 0.9573 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.00623, allocations: 33.7 kB / 0.9574 GB, free: 13 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.651e-05/0.006307, allocations: 334.8 kB / 0.9577 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.006408, allocations: 177.6 kB / 0.9579 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.524e-05/0.006504, allocations: 173.6 kB / 0.958 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.006734, allocations: 417.3 kB / 0.9584 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.006736, allocations: 0 / 0.9584 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002876/0.007023, allocations: 453.8 kB / 0.9589 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.689e-05/0.00708, allocations: 83.36 kB / 0.9589 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.007085, allocations: 0 / 0.9589 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.007097, allocations: 4 kB / 0.9589 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.239e-05/0.007139, allocations: 0 / 0.9589 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.007144, allocations: 3.938 kB / 0.9589 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.251e-05/0.007207, allocations: 15.89 kB / 0.959 GB, free: 11.31 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.00722, allocations: 8 kB / 0.959 GB, free: 11.3 MB / 0.9167 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.0001466/0.007366, allocations: 250.1 kB / 0.9592 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.007391, allocations: 27.91 kB / 0.9592 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.04e-05/0.007401, allocations: 5.312 kB / 0.9592 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.007403, allocations: 0 / 0.9592 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.007407, allocations: 0 / 0.9592 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.00741, allocations: 8.062 kB / 0.9592 GB, free: 11 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.685e-05/0.007497, allocations: 165 kB / 0.9594 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.007499, allocations: 3.984 kB / 0.9594 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.173e-06/0.007501, allocations: 4 kB / 0.9594 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.007503, allocations: 4 kB / 0.9594 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.007519, allocations: 11.98 kB / 0.9594 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.007521, allocations: 0 / 0.9594 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.007522, allocations: 4 kB / 0.9594 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007559/0.008277, allocations: 0.793 MB / 0.9602 GB, free: 9.961 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.00829, allocations: 19.83 kB / 0.9602 GB, free: 9.941 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.541e-05/0.008356, allocations: 75.95 kB / 0.9603 GB, free: 9.867 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.523e-05/0.008401, allocations: 8 kB / 0.9603 GB, free: 9.859 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.008429, allocations: 7.984 kB / 0.9603 GB, free: 9.852 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.008441, allocations: 12 kB / 0.9603 GB, free: 9.84 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.539e-05/0.008467, allocations: 83.22 kB / 0.9604 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008467, allocations: 0 / 0.9604 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001983/0.008665, allocations: 71.98 kB / 0.9605 GB, free: 9.688 MB / 0.9167 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.0003207/0.008986, allocations: 264.7 kB / 0.9607 GB, free: 9.434 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005039/0.00949, allocations: 0.7172 MB / 0.9614 GB, free: 8.691 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.009491, allocations: 0 / 0.9614 GB, free: 8.691 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.009736, allocations: 428.9 kB / 0.9618 GB, free: 8.254 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.009904, allocations: 16 kB / 0.9618 GB, free: 8.238 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004444/0.01035, allocations: 466 kB / 0.9623 GB, free: 7.746 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.296e-05/0.01041, allocations: 101.6 kB / 0.9624 GB, free: 7.625 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.28e-05/0.01042, allocations: 8.5 kB / 0.9624 GB, free: 7.613 MB / 0.9167 GB Notification: Performance of SimCode: time 4.71e-07/0.01042, allocations: 0 / 0.9624 GB, free: 7.613 MB / 0.9167 GB Notification: Performance of Templates: time 0.002926/0.01335, allocations: 2.475 MB / 0.9648 GB, free: 5.145 MB / 0.9167 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 -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/jenkins/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: 6.752804733812809]