Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.655/1.655, allocations: 288.2 MB / 303.2 MB, free: 8.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 179.9 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.057/2.057, allocations: 205.4 MB / 0.6305 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 90.86 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000416/0.0004161, allocations: 10.41 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.248, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001236/0.2492, allocations: 1.046 MB / 0.9805 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005368/0.2498, allocations: 341 kB / 0.9808 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.275e-05/0.2498, allocations: 0 / 0.9808 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.2e-05/0.2499, allocations: 0 / 0.9808 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.142e-05/0.2499, allocations: 11.92 kB / 0.9808 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.2503, allocations: 67.8 kB / 0.9809 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.106e-05/0.2503, allocations: 27.97 kB / 0.9809 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.782e-05/0.2504, allocations: 3.984 kB / 0.9809 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.909e-05/0.2504, allocations: 11.98 kB / 0.9809 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.984e-05/0.2505, allocations: 15.92 kB / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.2505, allocations: 4 kB / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.2506, allocations: 55.94 kB / 0.981 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.713e-05/0.2506, allocations: 23.92 kB / 0.981 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.659e-05/0.2507, allocations: 53.62 kB / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.2508, allocations: 104 kB / 0.9812 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2508, allocations: 0 / 0.9812 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2508, allocations: 0 / 0.9812 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.2508, allocations: 0 / 0.9812 GB, free: 25.83 MB / 0.6198 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.0003417/0.2512, allocations: 0.5166 MB / 0.9817 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.2512, allocations: 12.02 kB / 0.9817 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.786e-05/0.2513, allocations: 42.55 kB / 0.9817 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.985e-05/0.2513, allocations: 15.81 kB / 0.9818 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.919e-05/0.2514, allocations: 178.9 kB / 0.9819 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.2514, allocations: 12 kB / 0.9819 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.2515, allocations: 7.938 kB / 0.9819 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.2517, allocations: 249.3 kB / 0.9822 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.2517, allocations: 0 / 0.9822 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.2517, allocations: 0 / 0.9822 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.2517, allocations: 0 / 0.9822 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.83e-05/0.2518, allocations: 144 kB / 0.9823 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000113/0.2519, allocations: 193.4 kB / 0.9825 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.2522, allocations: 0.5376 MB / 0.983 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-06/0.2522, allocations: 0 / 0.983 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002818/0.2525, allocations: 399.7 kB / 0.9834 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 9.92e-07/0.2525, allocations: 0 / 0.9834 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39): time 0.0005786/0.2531, allocations: 0.7856 MB / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.2531, allocations: 109.1 kB / 0.9843 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.83e-05/0.2532, allocations: 97.84 kB / 0.9844 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.2532, allocations: 29.73 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.474e-05/0.2532, allocations: 84.8 kB / 0.9845 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.2533, allocations: 78.94 kB / 0.9846 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.2533, allocations: 0 / 0.9846 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.282e-05/0.2533, allocations: 322.8 kB / 0.9849 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.861e-05/0.2534, allocations: 87.97 kB / 0.985 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.028e-05/0.2534, allocations: 75.98 kB / 0.985 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.2535, allocations: 177.6 kB / 0.9852 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2536, allocations: 3.953 kB / 0.9852 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002532/0.2538, allocations: 336.4 kB / 0.9855 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.371e-05/0.2539, allocations: 81.64 kB / 0.9856 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.2539, allocations: 3.938 kB / 0.9856 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.2539, allocations: 0 / 0.9856 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.829e-05/0.254, allocations: 4 kB / 0.9856 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.254, allocations: 0 / 0.9856 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.622e-05/0.2541, allocations: 23.73 kB / 0.9856 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.2541, allocations: 8 kB / 0.9856 GB, free: 20.98 MB / 0.6198 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.0001692/0.2543, allocations: 265.7 kB / 0.9859 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.2543, allocations: 23.86 kB / 0.9859 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.014e-05/0.2543, allocations: 9.219 kB / 0.9859 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.2543, allocations: 4 kB / 0.9859 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.2543, allocations: 0 / 0.9859 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2543, allocations: 0 / 0.9859 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.2544, allocations: 249.3 kB / 0.9862 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2545, allocations: 0 / 0.9862 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-06/0.2545, allocations: 3.953 kB / 0.9862 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.2545, allocations: 0 / 0.9862 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.2545, allocations: 11.98 kB / 0.9862 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.2545, allocations: 3.938 kB / 0.9862 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2545, allocations: 4 kB / 0.9862 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008019/0.2553, allocations: 1.279 MB / 0.9874 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.049e-05/0.2553, allocations: 88.95 kB / 0.9875 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.633e-05/0.2554, allocations: 79.91 kB / 0.9876 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.761e-05/0.2555, allocations: 8 kB / 0.9876 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.2555, allocations: 11.98 kB / 0.9876 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.2556, allocations: 11.98 kB / 0.9876 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.728e-05/0.2556, allocations: 83.31 kB / 0.9877 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2556, allocations: 7.938 kB / 0.9877 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002529/0.2558, allocations: 64 kB / 0.9878 GB, free: 18.68 MB / 0.6198 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.0012/0.2571, allocations: 1.958 MB / 0.9897 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009938/0.2581, allocations: 1.967 MB / 0.9916 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2581, allocations: 0 / 0.9916 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008606/0.2589, allocations: 2.018 MB / 0.9936 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.2591, allocations: 19.89 kB / 0.9936 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.2596, allocations: 404.3 kB / 0.994 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.2597, allocations: 0.7208 MB / 0.9947 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.39e-05/0.2598, allocations: 3.938 kB / 0.9947 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.2598, allocations: 31.44 kB / 0.9947 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2598, allocations: 0 / 0.9947 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01262/0.2724, allocations: 3.868 MB / 0.9985 GB, free: 7.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001383/0.2726, allocations: 252.7 kB / 0.9987 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.53/1.803, allocations: 3.938 kB / 0.9987 GB, free: 7.445 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)