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.001285/0.001285, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001373/0.001373, allocations: 186 kB / 20.78 MB, free: 1.547 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.434/1.434, allocations: 225.6 MB / 249.4 MB, free: 3.156 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.648/2.648, allocations: 443.4 MB / 0.7304 GB, free: 13.88 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.001989/0.001989, allocations: 67.89 kB / 1.059 GB, free: 440 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3269, allocations: 160.7 MB / 1.216 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002662/0.3296, allocations: 1.338 MB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008142/0.3304, allocations: 367.9 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.977e-05/0.3304, allocations: 4 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.94e-05/0.3305, allocations: 3.938 kB / 1.218 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.735e-05/0.3305, allocations: 7.984 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004481/0.331, allocations: 87.72 kB / 1.218 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.3311, allocations: 51.91 kB / 1.218 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.3311, allocations: 3.984 kB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.706e-05/0.3312, allocations: 15.94 kB / 1.218 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.448e-05/0.3312, allocations: 19.97 kB / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.3312, allocations: 4 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.3314, allocations: 87.84 kB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.099e-05/0.3315, allocations: 35.84 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.049e-05/0.3315, allocations: 47.73 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.3318, allocations: 159.3 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3318, allocations: 0 / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.426e-06/0.3318, allocations: 4 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.3318, allocations: 0 / 1.218 GB, free: 13.16 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.0005893/0.3324, allocations: 0.5121 MB / 1.219 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3324, allocations: 12.02 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.3325, allocations: 24.84 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.3327, allocations: 168.3 kB / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.3327, allocations: 8.375 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.3327, allocations: 4.375 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.3331, allocations: 250.1 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.3331, allocations: 192 / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.3331, allocations: 3.938 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.3331, allocations: 0 / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.3333, allocations: 144 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002143/0.3335, allocations: 193.5 kB / 1.22 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.3337, allocations: 170.5 kB / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.3339, allocations: 148.8 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.3339, allocations: 3.938 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004839/0.3343, allocations: 395.6 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=39): time 1.252e-06/0.3343, allocations: 0 / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39): time 0.0009046/0.3352, allocations: 0.6865 MB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.2e-05/0.3353, allocations: 105.1 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.1e-05/0.3354, allocations: 101.8 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.3354, allocations: 29.7 kB / 1.221 GB, free: 10 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/0.3355, allocations: 88.72 kB / 1.221 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.69e-05/0.3356, allocations: 83.31 kB / 1.221 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.719e-05/0.3356, allocations: 33.7 kB / 1.221 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3358, allocations: 326.8 kB / 1.222 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.854e-05/0.3359, allocations: 83.97 kB / 1.222 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.415e-05/0.336, allocations: 83.92 kB / 1.222 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.3363, allocations: 352.5 kB / 1.222 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3363, allocations: 0 / 1.222 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003967/0.3367, allocations: 340.1 kB / 1.222 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.793e-05/0.3368, allocations: 81.58 kB / 1.223 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3368, allocations: 3.984 kB / 1.223 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.3368, allocations: 0 / 1.223 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.907e-05/0.3369, allocations: 3.938 kB / 1.223 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3369, allocations: 7.938 kB / 1.223 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.928e-05/0.337, allocations: 15.94 kB / 1.223 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.337, allocations: 4 kB / 1.223 GB, free: 8.473 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.000267/0.3373, allocations: 273.6 kB / 1.223 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.3373, allocations: 31.84 kB / 1.223 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.461e-05/0.3373, allocations: 5.219 kB / 1.223 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3373, allocations: 0 / 1.223 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3373, allocations: 0 / 1.223 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.3374, allocations: 192 / 1.223 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.3376, allocations: 249.4 kB / 1.223 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3376, allocations: 0 / 1.223 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.529e-06/0.3376, allocations: 7.984 kB / 1.223 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/0.3376, allocations: 7.938 kB / 1.223 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.3376, allocations: 19.98 kB / 1.223 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3376, allocations: 0 / 1.223 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3376, allocations: 0 / 1.223 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.3389, allocations: 1.275 MB / 1.224 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.604e-05/0.339, allocations: 100.9 kB / 1.224 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.3391, allocations: 71.89 kB / 1.225 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-05/0.3392, allocations: 11.94 kB / 1.225 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.3392, allocations: 16.02 kB / 1.225 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.3392, allocations: 15.98 kB / 1.225 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.991e-05/0.3393, allocations: 79.28 kB / 1.225 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3393, allocations: 0 / 1.225 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002994/0.3396, allocations: 67.94 kB / 1.225 GB, free: 6.148 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.0004914/0.3401, allocations: 249 kB / 1.225 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001206/0.3413, allocations: 1.1 MB / 1.226 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3413, allocations: 4.062 kB / 1.226 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0009694/0.3422, allocations: 0.9286 MB / 1.227 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.3425, allocations: 19.98 kB / 1.227 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005748/0.3431, allocations: 347 kB / 1.227 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.3434, allocations: 0.7206 MB / 1.228 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.354e-05/0.3434, allocations: 0 / 1.228 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.335e-05/0.3434, allocations: 7.438 kB / 1.228 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of SimCode: time 7.12e-07/0.3434, allocations: 0 / 1.228 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of Templates: time 0.006103/0.3495, allocations: 2.684 MB / 1.231 GB, free: 32 kB / 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/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: 8.32428151089698]