Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001818/0.001818, allocations: 80.45 kB / 19.95 MB, free: 4.598 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.002009/0.002009, allocations: 173.6 kB / 23.24 MB, free: 1.316 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 1.683/1.683, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.131/3.131, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.624e-06/1.624e-06, allocations: 0 / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.117e-05/3.279e-05, allocations: 9.594 kB / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002761/0.002794, allocations: 1.37 MB / 1.002 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008817/0.003676, allocations: 354.9 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.901e-05/0.003715, allocations: 4 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 8.462e-05/0.003799, allocations: 3.938 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.183e-05/0.003821, allocations: 7.938 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005128/0.004334, allocations: 99.56 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.14e-05/0.004425, allocations: 43.86 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.00447, allocations: 7.969 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.53e-05/0.004526, allocations: 23.98 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.522e-05/0.004581, allocations: 19.91 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.004596, allocations: 4 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002765/0.004873, allocations: 115.8 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.61e-05/0.004929, allocations: 27.91 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.004969, allocations: 15.94 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.005259, allocations: 163.5 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.175e-06/0.005262, allocations: 0 / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.62e-07/0.005262, allocations: 0 / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.005267, allocations: 0 / 1.003 GB, free: 10.8 MB / 0.9636 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.0006044/0.005871, allocations: 358.7 kB / 1.004 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.005907, allocations: 9.344 kB / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.006073, allocations: 16.84 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.006207, allocations: 129.6 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.006225, allocations: 384 / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.00624, allocations: 4.375 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.006503, allocations: 186.2 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.016e-06/0.006512, allocations: 192 / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.006522, allocations: 384 / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.006526, allocations: 384 / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.006638, allocations: 79.91 kB / 1.004 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001822/0.00682, allocations: 129.2 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.007, allocations: 106.5 kB / 1.004 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.007118, allocations: 88.89 kB / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.687e-06/0.007127, allocations: 0 / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002891/0.007416, allocations: 204.3 kB / 1.005 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=39): time 1.152e-06/0.007417, allocations: 4 kB / 1.005 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of matching and sorting (n=39): time 0.0007325/0.00815, allocations: 492.9 kB / 1.005 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.272e-05/0.008243, allocations: 87.38 kB / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.00836, allocations: 129.7 kB / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.002e-05/0.00842, allocations: 53.62 kB / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.978e-05/0.008479, allocations: 88.8 kB / 1.005 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.008589, allocations: 99.23 kB / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.008713, allocations: 97.67 kB / 1.006 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.008898, allocations: 338.8 kB / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002698/0.009168, allocations: 176.6 kB / 1.006 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/0.009465, allocations: 225.5 kB / 1.006 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000583/0.01005, allocations: 409.5 kB / 1.007 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01005, allocations: 0 / 1.007 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007278/0.01078, allocations: 496.9 kB / 1.007 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.0108, allocations: 4 kB / 1.007 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.01081, allocations: 0 / 1.007 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.01083, allocations: 4 kB / 1.007 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.01096, allocations: 24.05 kB / 1.007 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.01097, allocations: 7.938 kB / 1.007 GB, free: 6.652 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.635e-05/0.01106, allocations: 27.73 kB / 1.007 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.01109, allocations: 16.03 kB / 1.007 GB, free: 6.609 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 77 (occ.occ,$PRE.occ.occ,occ.state[33],$PRE.occ.state[33],occ.state[32],$PRE.occ.state[32],occ.state[31],$PRE.occ.state[31],occ.state[30],$PRE.occ.state[30],occ.state[29],$PRE.occ.state[29],occ.state[28],$PRE.occ.state[28],occ.state[27],$PRE.occ.state[27],occ.state[26],$PRE.occ.state[26],occ.state[25],$PRE.occ.state[25],occ.state[24],$PRE.occ.state[24],occ.state[23],$PRE.occ.state[23],occ.state[22],$PRE.occ.state[22],occ.state[21],$PRE.occ.state[21],occ.state[20],$PRE.occ.state[20],occ.state[19],$PRE.occ.state[19],occ.state[18],$PRE.occ.state[18],occ.state[17],$PRE.occ.state[17],occ.state[16],$PRE.occ.state[16],occ.state[15],$PRE.occ.state[15],occ.state[14],$PRE.occ.state[14],occ.state[13],$PRE.occ.state[13],occ.state[12],$PRE.occ.state[12],occ.state[11],$PRE.occ.state[11],occ.state[10],$PRE.occ.state[10],occ.state[9],$PRE.occ.state[9],occ.state[8],$PRE.occ.state[8],occ.state[7],$PRE.occ.state[7],occ.state[6],$PRE.occ.state[6],occ.state[5],$PRE.occ.state[5],occ.state[4],$PRE.occ.state[4],occ.state[3],$PRE.occ.state[3],occ.state[2],$PRE.occ.state[2],occ.state[1],$PRE.occ.state[1],occ.r,$PRE.occ.r,occ.hold_time,$PRE.occ.hold_time,occ.tNext,$PRE.occ.tNext,occ.mu,$PRE.occ.mu,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002413/0.01133, allocations: 203 kB / 1.007 GB, free: 6.398 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.01135, allocations: 11.91 kB / 1.007 GB, free: 6.387 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.552e-05/0.01138, allocations: 5.312 kB / 1.007 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01138, allocations: 0 / 1.007 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.01138, allocations: 0 / 1.007 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.01139, allocations: 7.922 kB / 1.007 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.01153, allocations: 125.1 kB / 1.008 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.01153, allocations: 4 kB / 1.008 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.047e-06/0.01154, allocations: 0 / 1.008 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.01154, allocations: 0 / 1.008 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.01155, allocations: 4 kB / 1.008 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01155, allocations: 0 / 1.008 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01155, allocations: 0 / 1.008 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005483/0.0121, allocations: 397.8 kB / 1.008 GB, free: 5.805 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.953e-05/0.01212, allocations: 15.84 kB / 1.008 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.774e-05/0.01216, allocations: 31.98 kB / 1.008 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.527e-05/0.0122, allocations: 0 / 1.008 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.01223, allocations: 7.984 kB / 1.008 GB, free: 5.75 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.01224, allocations: 4.125 kB / 1.008 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.74e-05/0.0123, allocations: 91.16 kB / 1.008 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.0123, allocations: 0 / 1.008 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002794/0.01258, allocations: 55.92 kB / 1.008 GB, free: 5.602 MB / 0.9636 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: 35 (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],occ.occ,occ.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0006522/0.01323, allocations: 229 kB / 1.008 GB, free: 5.387 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005578/0.01379, allocations: 382 kB / 1.009 GB, free: 5.008 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01379, allocations: 0 / 1.009 GB, free: 5.008 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.01391, allocations: 91.97 kB / 1.009 GB, free: 4.918 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.01409, allocations: 10.33 kB / 1.009 GB, free: 4.91 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005063/0.0146, allocations: 315.7 kB / 1.009 GB, free: 4.578 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.01473, allocations: 102.1 kB / 1.009 GB, free: 4.457 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.181e-05/0.01477, allocations: 17.48 kB / 1.009 GB, free: 4.438 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.0148, allocations: 20.5 kB / 1.009 GB, free: 4.418 MB / 0.9636 GB Notification: Performance of SimCode: time 3.21e-07/0.0148, allocations: 0 / 1.009 GB, free: 4.418 MB / 0.9636 GB Notification: Performance of Templates: time 0.005677/0.02048, allocations: 1.911 MB / 1.011 GB, free: 2.543 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_13_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_13_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_13_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_13_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.954935154877603]