Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001925/0.001925, allocations: 115.7 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.002395/0.002395, allocations: 204.4 kB / 22.18 MB, free: 5.207 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.62/1.62, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.654/2.654, allocations: 443.5 MB / 0.732 GB, free: 12.5 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 71.88 kB / 1.061 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9015/0.9035, allocations: 160.7 MB / 1.218 GB, free: 4.059 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002925/0.9064, allocations: 1.341 MB / 1.219 GB, free: 3.004 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008977/0.9073, allocations: 366.5 kB / 1.22 GB, free: 2.734 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.527e-05/0.9074, allocations: 0 / 1.22 GB, free: 2.734 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.682e-05/0.9075, allocations: 1.125 kB / 1.22 GB, free: 2.734 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.881e-05/0.9075, allocations: 3.938 kB / 1.22 GB, free: 2.73 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005593/0.9081, allocations: 91 kB / 1.22 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.9082, allocations: 52.58 kB / 1.22 GB, free: 2.637 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.9082, allocations: 2.469 kB / 1.22 GB, free: 2.637 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.493e-05/0.9083, allocations: 26.77 kB / 1.22 GB, free: 2.617 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.671e-05/0.9083, allocations: 22.88 kB / 1.22 GB, free: 2.602 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.9084, allocations: 4.375 kB / 1.22 GB, free: 2.602 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.9086, allocations: 91.36 kB / 1.22 GB, free: 2.551 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.9086, allocations: 22.58 kB / 1.22 GB, free: 2.543 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.686e-05/0.9087, allocations: 45.22 kB / 1.22 GB, free: 2.516 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.909, allocations: 161.1 kB / 1.22 GB, free: 2.418 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.909, allocations: 0 / 1.22 GB, free: 2.418 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.653e-06/0.909, allocations: 0.9062 kB / 1.22 GB, free: 2.418 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.909, allocations: 0 / 1.22 GB, free: 2.418 MB / 0.92 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.0005967/0.9096, allocations: 0.5267 MB / 1.221 GB, free: 1.922 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.9096, allocations: 9.625 kB / 1.221 GB, free: 1.922 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.9097, allocations: 16.97 kB / 1.221 GB, free: 1.914 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.9099, allocations: 179.8 kB / 1.221 GB, free: 1.703 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.9099, allocations: 3.438 kB / 1.221 GB, free: 1.703 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.9099, allocations: 3.156 kB / 1.221 GB, free: 1.703 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.9102, allocations: 241.1 kB / 1.221 GB, free: 1.586 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.9102, allocations: 192 / 1.221 GB, free: 1.586 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.9102, allocations: 9.906 kB / 1.221 GB, free: 1.578 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.9102, allocations: 0 / 1.221 GB, free: 1.578 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.9104, allocations: 148.8 kB / 1.221 GB, free: 1.516 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.9106, allocations: 197.2 kB / 1.222 GB, free: 1.289 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.9108, allocations: 159.8 kB / 1.222 GB, free: 1.207 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.911, allocations: 148.8 kB / 1.222 GB, free: 1.141 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.25e-06/0.911, allocations: 0.9375 kB / 1.222 GB, free: 1.141 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004595/0.9114, allocations: 410.3 kB / 1.222 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of pre-optimization done (n=39): time 1.232e-06/0.9114, allocations: 1 kB / 1.222 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of matching and sorting (n=39): time 0.0008619/0.9123, allocations: 0.6816 MB / 1.223 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.678e-05/0.9124, allocations: 104.3 kB / 1.223 GB, free: 500 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.451e-05/0.9124, allocations: 106.2 kB / 1.223 GB, free: 388 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.9125, allocations: 26.89 kB / 1.223 GB, free: 356 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/0.9125, allocations: 81.77 kB / 1.223 GB, free: 272 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.157e-05/0.9126, allocations: 78.25 kB / 1.223 GB, free: 208 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.9126, allocations: 31.36 kB / 1.223 GB, free: 184 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.9128, allocations: 335.1 kB / 1.224 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.948e-05/0.9129, allocations: 85.41 kB / 1.224 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.365e-05/0.913, allocations: 85.09 kB / 1.224 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/0.9133, allocations: 349.1 kB / 1.224 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.9133, allocations: 3.938 kB / 1.224 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003836/0.9137, allocations: 338.6 kB / 1.225 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.964e-05/0.9138, allocations: 86.73 kB / 1.225 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.9138, allocations: 0 / 1.225 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.9138, allocations: 0 / 1.225 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.034e-05/0.9138, allocations: 6.75 kB / 1.225 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.9139, allocations: 0 / 1.225 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.914, allocations: 20.73 kB / 1.225 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.914, allocations: 6.312 kB / 1.225 GB, free: 15.31 MB / 0.9356 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.0002594/0.9142, allocations: 265.7 kB / 1.225 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/0.9143, allocations: 25.69 kB / 1.225 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.76e-05/0.9143, allocations: 6.562 kB / 1.225 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.9143, allocations: 3.984 kB / 1.225 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.9143, allocations: 0 / 1.225 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.9143, allocations: 0.9375 kB / 1.225 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.9145, allocations: 252.5 kB / 1.225 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9145, allocations: 0 / 1.225 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-06/0.9145, allocations: 1.281 kB / 1.225 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.9145, allocations: 3.938 kB / 1.225 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.9146, allocations: 12.97 kB / 1.225 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.9146, allocations: 7.984 kB / 1.225 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.9146, allocations: 0 / 1.225 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.9159, allocations: 1.278 MB / 1.226 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.78e-05/0.9159, allocations: 97.33 kB / 1.227 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.916, allocations: 80.25 kB / 1.227 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.965e-05/0.9161, allocations: 10.19 kB / 1.227 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.9161, allocations: 12.05 kB / 1.227 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.9162, allocations: 17.05 kB / 1.227 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.172e-05/0.9162, allocations: 77.59 kB / 1.227 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9162, allocations: 0 / 1.227 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003072/0.9165, allocations: 76.42 kB / 1.227 GB, free: 13.96 MB / 0.9356 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.0004658/0.917, allocations: 243.2 kB / 1.227 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001121/0.9181, allocations: 1.106 MB / 1.228 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.9181, allocations: 0 / 1.228 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008462/0.9189, allocations: 0.9286 MB / 1.229 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.9192, allocations: 22.59 kB / 1.229 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005681/0.9197, allocations: 347.1 kB / 1.229 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.9201, allocations: 0.7243 MB / 1.23 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.848e-05/0.9201, allocations: 4 kB / 1.23 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.417e-05/0.9201, allocations: 7.438 kB / 1.23 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.9201, allocations: 0 / 1.23 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of Templates: time 0.006038/0.9262, allocations: 2.684 MB / 1.233 GB, free: 8.234 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.893861679825932]