Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001339, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.702/1.702, allocations: 251.9 MB / 0.51 GB, free: 4.891 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006337/0.0006341, allocations: 15.12 kB / 0.6241 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7898/0.7904, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.0018/0.7923, allocations: 1.05 MB / 0.729 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008619/0.7932, allocations: 332 kB / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.226e-05/0.7932, allocations: 0 / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.7933, allocations: 7.938 kB / 0.7293 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.692e-05/0.7934, allocations: 3.984 kB / 0.7293 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005181/0.7939, allocations: 71.78 kB / 0.7294 GB, free: 9.965 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.954e-05/0.794, allocations: 27.95 kB / 0.7294 GB, free: 9.938 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.067e-05/0.7941, allocations: 8 kB / 0.7294 GB, free: 9.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.325e-05/0.7941, allocations: 15.94 kB / 0.7294 GB, free: 9.914 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.766e-05/0.7942, allocations: 15.95 kB / 0.7295 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.7942, allocations: 4 kB / 0.7295 GB, free: 9.895 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.7944, allocations: 59.83 kB / 0.7295 GB, free: 9.836 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.111e-05/0.7944, allocations: 27.92 kB / 0.7296 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.417e-05/0.7945, allocations: 41.64 kB / 0.7296 GB, free: 9.762 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.7947, allocations: 107.8 kB / 0.7297 GB, free: 9.656 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.7947, allocations: 0 / 0.7297 GB, free: 9.656 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7947, allocations: 4 kB / 0.7297 GB, free: 9.652 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.7947, allocations: 0 / 0.7297 GB, free: 9.652 MB / 0.545 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.0005695/0.7953, allocations: 0.5024 MB / 0.7302 GB, free: 9.098 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.7953, allocations: 12.03 kB / 0.7302 GB, free: 9.086 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.7955, allocations: 15.81 kB / 0.7302 GB, free: 9.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.7956, allocations: 174.8 kB / 0.7304 GB, free: 8.859 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.196e-05/0.7957, allocations: 7.984 kB / 0.7304 GB, free: 8.852 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.7957, allocations: 4 kB / 0.7304 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003426/0.796, allocations: 241.4 kB / 0.7306 GB, free: 8.605 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.796, allocations: 4 kB / 0.7306 GB, free: 8.602 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.7961, allocations: 0 / 0.7306 GB, free: 8.602 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.7961, allocations: 3.938 kB / 0.7306 GB, free: 8.598 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.7963, allocations: 144 kB / 0.7308 GB, free: 8.457 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002153/0.7965, allocations: 205.3 kB / 0.731 GB, free: 8.207 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005096/0.797, allocations: 0.5298 MB / 0.7315 GB, free: 7.668 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.797, allocations: 4.031 kB / 0.7315 GB, free: 7.664 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004522/0.7975, allocations: 403.6 kB / 0.7319 GB, free: 7.242 MB / 0.545 GB Notification: Performance of pre-optimization done (n=39): time 1.442e-06/0.7975, allocations: 0 / 0.7319 GB, free: 7.242 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.0009922/0.7985, allocations: 0.7802 MB / 0.7326 GB, free: 6.434 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.951e-05/0.7986, allocations: 109.1 kB / 0.7327 GB, free: 6.309 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.292e-05/0.7987, allocations: 93.86 kB / 0.7328 GB, free: 6.207 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.7987, allocations: 29.69 kB / 0.7329 GB, free: 6.172 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/0.7988, allocations: 80.8 kB / 0.7329 GB, free: 6.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.831e-05/0.7989, allocations: 78.91 kB / 0.733 GB, free: 6.012 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.7989, allocations: 4.031 kB / 0.733 GB, free: 6.008 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.799, allocations: 330.8 kB / 0.7333 GB, free: 5.676 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.372e-05/0.7991, allocations: 79.98 kB / 0.7334 GB, free: 5.598 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.604e-05/0.7992, allocations: 79.97 kB / 0.7335 GB, free: 5.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.7994, allocations: 178.9 kB / 0.7336 GB, free: 5.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7994, allocations: 0 / 0.7336 GB, free: 5.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003482/0.7998, allocations: 339.9 kB / 0.734 GB, free: 4.996 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.379e-05/0.7999, allocations: 81.64 kB / 0.7341 GB, free: 4.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.7999, allocations: 7.938 kB / 0.7341 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.7999, allocations: 4.062 kB / 0.7341 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.392e-05/0.8, allocations: 4 kB / 0.7341 GB, free: 4.895 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.8, allocations: 0 / 0.7341 GB, free: 4.895 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.8001, allocations: 15.84 kB / 0.7341 GB, free: 4.879 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.8002, allocations: 8 kB / 0.7341 GB, free: 4.871 MB / 0.545 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 ($whenCondition1,occ.occ,occ.mu,$PRE.occ.tNext,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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000306/0.8005, allocations: 265.6 kB / 0.7343 GB, free: 4.598 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.8005, allocations: 23.8 kB / 0.7344 GB, free: 4.574 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.698e-05/0.8006, allocations: 9.219 kB / 0.7344 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.8006, allocations: 0 / 0.7344 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.8006, allocations: 0 / 0.7344 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.8006, allocations: 4 kB / 0.7344 GB, free: 4.562 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.8008, allocations: 245.4 kB / 0.7346 GB, free: 4.273 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.8008, allocations: 3.953 kB / 0.7346 GB, free: 4.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.8008, allocations: 0 / 0.7346 GB, free: 4.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.8008, allocations: 0 / 0.7346 GB, free: 4.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.8008, allocations: 15.98 kB / 0.7346 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.8009, allocations: 0 / 0.7346 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8009, allocations: 0 / 0.7346 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.8021, allocations: 1.283 MB / 0.7359 GB, free: 2.945 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.498e-05/0.8022, allocations: 108.7 kB / 0.736 GB, free: 2.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.8023, allocations: 79.89 kB / 0.7361 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.131e-05/0.8024, allocations: 8 kB / 0.7361 GB, free: 2.734 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.8025, allocations: 7.984 kB / 0.7361 GB, free: 2.727 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.8025, allocations: 12 kB / 0.7361 GB, free: 2.715 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.249e-05/0.8025, allocations: 87.27 kB / 0.7362 GB, free: 2.629 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8026, allocations: 0 / 0.7362 GB, free: 2.629 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002978/0.8029, allocations: 68 kB / 0.7362 GB, free: 2.562 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005094/0.8034, allocations: 234.7 kB / 0.7365 GB, free: 2.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001712/0.8051, allocations: 1.96 MB / 0.7384 GB, free: 376 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.8051, allocations: 0 / 0.7384 GB, free: 376 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00164/0.8068, allocations: 2.022 MB / 0.7404 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.807, allocations: 15.09 kB / 0.7404 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00063/0.8076, allocations: 354.5 kB / 0.7407 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.808, allocations: 0.7208 MB / 0.7414 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.005e-05/0.808, allocations: 4 kB / 0.7414 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.379e-05/0.808, allocations: 7.438 kB / 0.7414 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.808, allocations: 0 / 0.7414 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of Templates: time 0.006159/0.8142, allocations: 2.39 MB / 0.7438 GB, free: 10.8 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) Environment - environmentSimulation: