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.001465/0.001465, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001702/0.001702, allocations: 190.8 kB / 22.23 MB, free: 5.105 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.468/1.468, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.786/2.786, allocations: 443.5 MB / 0.7321 GB, free: 12.43 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002043/0.002043, allocations: 67.89 kB / 1.061 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9938/0.9958, allocations: 160.8 MB / 1.218 GB, free: 3.809 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.00289/0.9987, allocations: 1.338 MB / 1.22 GB, free: 2.762 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008876/0.9996, allocations: 370.5 kB / 1.22 GB, free: 2.488 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.261e-05/0.9997, allocations: 1.344 kB / 1.22 GB, free: 2.488 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.587e-05/0.9997, allocations: 11.92 kB / 1.22 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.725e-05/0.9998, allocations: 5.375 kB / 1.22 GB, free: 2.473 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005017/1, allocations: 98.59 kB / 1.22 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/1, allocations: 45.45 kB / 1.22 GB, free: 2.379 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.002e-05/1, allocations: 5.391 kB / 1.22 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.34e-05/1, allocations: 16.84 kB / 1.22 GB, free: 2.367 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/1.001, allocations: 26.14 kB / 1.22 GB, free: 2.348 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/1.001, allocations: 8.094 kB / 1.22 GB, free: 2.344 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003013/1.001, allocations: 116.6 kB / 1.22 GB, free: 2.273 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.258e-05/1.001, allocations: 24.14 kB / 1.22 GB, free: 2.266 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.493e-05/1.001, allocations: 51.52 kB / 1.22 GB, free: 2.23 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002893/1.001, allocations: 161.4 kB / 1.221 GB, free: 2.137 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/1.001, allocations: 0 / 1.221 GB, free: 2.137 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.094e-06/1.001, allocations: 1.281 kB / 1.221 GB, free: 2.137 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.183e-06/1.001, allocations: 0 / 1.221 GB, free: 2.137 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.0006792/1.002, allocations: 0.5222 MB / 1.221 GB, free: 1.645 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/1.002, allocations: 9.5 kB / 1.221 GB, free: 1.645 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/1.002, allocations: 20.7 kB / 1.221 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/1.002, allocations: 171 kB / 1.221 GB, free: 1.43 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/1.002, allocations: 2.594 kB / 1.221 GB, free: 1.43 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/1.002, allocations: 8.438 kB / 1.221 GB, free: 1.426 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/1.003, allocations: 241 kB / 1.222 GB, free: 1.309 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/1.003, allocations: 5.266 kB / 1.222 GB, free: 1.305 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/1.003, allocations: 5.062 kB / 1.222 GB, free: 1.301 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/1.003, allocations: 0 / 1.222 GB, free: 1.301 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/1.003, allocations: 145.5 kB / 1.222 GB, free: 1.242 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002371/1.003, allocations: 193.6 kB / 1.222 GB, free: 1.02 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/1.003, allocations: 162.5 kB / 1.222 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/1.004, allocations: 153.5 kB / 1.222 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/1.004, allocations: 3.984 kB / 1.222 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005773/1.004, allocations: 403.8 kB / 1.223 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of pre-optimization done (n=39): time 1.112e-06/1.004, allocations: 0 / 1.223 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of matching and sorting (n=39): time 0.0009831/1.005, allocations: 0.6845 MB / 1.223 GB, free: 320 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.555e-05/1.005, allocations: 108.3 kB / 1.223 GB, free: 212 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.526e-05/1.005, allocations: 106.2 kB / 1.223 GB, free: 100 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/1.005, allocations: 26.83 kB / 1.224 GB, free: 68 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.613e-05/1.006, allocations: 81.89 kB / 1.224 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.049e-05/1.006, allocations: 82.72 kB / 1.224 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.979e-05/1.006, allocations: 34.91 kB / 1.224 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001608/1.006, allocations: 328 kB / 1.224 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/1.006, allocations: 77.02 kB / 1.224 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/1.006, allocations: 85.17 kB / 1.224 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003741/1.006, allocations: 356.9 kB / 1.225 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/1.006, allocations: 3.938 kB / 1.225 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004082/1.007, allocations: 343.4 kB / 1.225 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.643e-05/1.007, allocations: 81.52 kB / 1.225 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/1.007, allocations: 0.6875 kB / 1.225 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/1.007, allocations: 1.156 kB / 1.225 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.758e-05/1.007, allocations: 1.094 kB / 1.225 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/1.007, allocations: 1.125 kB / 1.225 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/1.007, allocations: 16.3 kB / 1.225 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/1.007, allocations: 10.34 kB / 1.225 GB, free: 15.03 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.0004021/1.008, allocations: 281.9 kB / 1.225 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/1.008, allocations: 25.09 kB / 1.225 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.234e-05/1.008, allocations: 6.406 kB / 1.225 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/1.008, allocations: 1.344 kB / 1.225 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/1.008, allocations: 4 kB / 1.225 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/1.008, allocations: 0 / 1.225 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/1.008, allocations: 249.3 kB / 1.225 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.008, allocations: 0 / 1.225 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/1.008, allocations: 0 / 1.225 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/1.008, allocations: 5.156 kB / 1.225 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/1.008, allocations: 20.27 kB / 1.226 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/1.008, allocations: 0 / 1.226 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.008, allocations: 1.125 kB / 1.226 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/1.01, allocations: 1.277 MB / 1.227 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.625e-05/1.01, allocations: 94.23 kB / 1.227 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/1.01, allocations: 73.92 kB / 1.227 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.026e-05/1.01, allocations: 7.594 kB / 1.227 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/1.01, allocations: 11.42 kB / 1.227 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/1.01, allocations: 17.75 kB / 1.227 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001187/1.01, allocations: 81.48 kB / 1.227 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/1.01, allocations: 0 / 1.227 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003256/1.01, allocations: 68.06 kB / 1.227 GB, free: 13.7 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.0005244/1.011, allocations: 253.8 kB / 1.227 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001253/1.012, allocations: 1.104 MB / 1.228 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.012, allocations: 4.062 kB / 1.228 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009519/1.013, allocations: 0.9363 MB / 1.229 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/1.013, allocations: 16 kB / 1.229 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006521/1.014, allocations: 339.1 kB / 1.23 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005429/1.015, allocations: 0.7209 MB / 1.23 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.674e-05/1.015, allocations: 4.062 kB / 1.23 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.527e-05/1.015, allocations: 7.438 kB / 1.23 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of SimCode: time 5.51e-07/1.015, allocations: 0 / 1.23 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of Templates: time 0.006677/1.021, allocations: 2.782 MB / 1.233 GB, free: 7.891 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.145663933828473]