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.001495/0.001495, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001534/0.001534, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.414/1.414, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.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.558/2.558, allocations: 443.5 MB / 0.7293 GB, free: 14.55 MB / 0.5762 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.001963/0.001963, allocations: 55.91 kB / 1.057 GB, free: 2.062 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3159, allocations: 160.7 MB / 1.214 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.0026/0.3185, allocations: 1.321 MB / 1.215 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008495/0.3193, allocations: 370.8 kB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.076e-05/0.3194, allocations: 0 / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.13e-05/0.3195, allocations: 0 / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.562e-05/0.3195, allocations: 7.938 kB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.32, allocations: 87.7 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.3201, allocations: 51.84 kB / 1.216 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.034e-05/0.3201, allocations: 4 kB / 1.216 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.596e-05/0.3202, allocations: 19.98 kB / 1.216 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.361e-05/0.3202, allocations: 23.89 kB / 1.216 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.3202, allocations: 4 kB / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002114/0.3205, allocations: 91.84 kB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.584e-05/0.3205, allocations: 27.92 kB / 1.216 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.61e-05/0.3206, allocations: 47.67 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.3208, allocations: 155.4 kB / 1.216 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3208, allocations: 3.938 kB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3208, allocations: 0 / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.3208, allocations: 0 / 1.216 GB, free: 14.8 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.0006237/0.3215, allocations: 0.5261 MB / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.3215, allocations: 8.031 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.3216, allocations: 20.83 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.3218, allocations: 176.3 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.3218, allocations: 4.375 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.3218, allocations: 384 / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.3221, allocations: 246.1 kB / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3221, allocations: 192 / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.3221, allocations: 11.92 kB / 1.217 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3221, allocations: 0 / 1.217 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.3223, allocations: 144 kB / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002158/0.3225, allocations: 198.2 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.3227, allocations: 162.5 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.3229, allocations: 152.8 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.3229, allocations: 0 / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004675/0.3234, allocations: 399.6 kB / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=39): time 1.052e-06/0.3234, allocations: 0 / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39): time 0.0008631/0.3242, allocations: 0.6865 MB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.471e-05/0.3243, allocations: 109.1 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.906e-05/0.3244, allocations: 101.8 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.3244, allocations: 29.7 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.189e-05/0.3245, allocations: 84.73 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.212e-05/0.3246, allocations: 79.31 kB / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.321e-05/0.3246, allocations: 41.62 kB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3248, allocations: 326.8 kB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.3249, allocations: 79.98 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.267e-05/0.325, allocations: 91.91 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003617/0.3253, allocations: 352.4 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3253, allocations: 0 / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003825/0.3257, allocations: 332.1 kB / 1.22 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.731e-05/0.3258, allocations: 89.58 kB / 1.22 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3258, allocations: 0 / 1.22 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3258, allocations: 0 / 1.22 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.082e-05/0.3259, allocations: 0 / 1.22 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.3259, allocations: 3.938 kB / 1.22 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.326, allocations: 19.89 kB / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.326, allocations: 12.05 kB / 1.22 GB, free: 10.11 MB / 0.9669 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.0002782/0.3263, allocations: 265.7 kB / 1.221 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.3263, allocations: 27.84 kB / 1.221 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.465e-05/0.3264, allocations: 5.219 kB / 1.221 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3264, allocations: 0 / 1.221 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3264, allocations: 0 / 1.221 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3264, allocations: 0 / 1.221 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.3266, allocations: 249.4 kB / 1.221 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3266, allocations: 0 / 1.221 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.3266, allocations: 0 / 1.221 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.3266, allocations: 7.938 kB / 1.221 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.3266, allocations: 15.98 kB / 1.221 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.3266, allocations: 4 kB / 1.221 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3266, allocations: 3.938 kB / 1.221 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.3281, allocations: 1.279 MB / 1.222 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.3282, allocations: 89 kB / 1.222 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.3283, allocations: 75.89 kB / 1.222 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.119e-05/0.3284, allocations: 15.94 kB / 1.222 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.3284, allocations: 12.02 kB / 1.222 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.3284, allocations: 19.98 kB / 1.222 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.838e-05/0.3285, allocations: 79.28 kB / 1.223 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3285, allocations: 0 / 1.223 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003329/0.3288, allocations: 71.94 kB / 1.223 GB, free: 7.793 MB / 0.9669 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.000502/0.3293, allocations: 247.2 kB / 1.223 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001251/0.3306, allocations: 1.112 MB / 1.224 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3306, allocations: 0 / 1.224 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0009029/0.3315, allocations: 0.9247 MB / 1.225 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.3317, allocations: 25.66 kB / 1.225 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006603/0.3324, allocations: 368.8 kB / 1.225 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.3328, allocations: 0.7206 MB / 1.226 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.746e-05/0.3328, allocations: 15.42 kB / 1.226 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.3328, allocations: 0 / 1.226 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of Templates: time 0.004805/0.3376, allocations: 2.423 MB / 1.228 GB, free: 1.895 MB / 0.9669 GB " [Timeout remaining time 300] 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/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: 10.837520002853125]