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.874/1.874, allocations: 288.4 MB / 303.3 MB, free: 8.059 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.001021/0.001021, allocations: 176.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.759/1.759, allocations: 205.4 MB / 0.6307 GB, free: 9.996 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.0007875/0.0007878, allocations: 98.3 kB / 0.744 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003857/0.0003857, allocations: 10.16 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2588, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001413/0.2603, allocations: 1.05 MB / 0.9807 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006276/0.261, allocations: 333 kB / 0.981 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.72e-05/0.261, allocations: 0 / 0.981 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.2611, allocations: 7.875 kB / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.809e-05/0.2612, allocations: 3.984 kB / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.2615, allocations: 63.86 kB / 0.9811 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.554e-05/0.2616, allocations: 47.84 kB / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.207e-05/0.2617, allocations: 7.984 kB / 0.9811 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.994e-05/0.2617, allocations: 15.98 kB / 0.9811 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.635e-05/0.2617, allocations: 23.91 kB / 0.9811 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.2618, allocations: 0 / 0.9811 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.2619, allocations: 75.86 kB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.04e-05/0.2619, allocations: 23.86 kB / 0.9812 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.97e-05/0.262, allocations: 49.64 kB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.2621, allocations: 108 kB / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2621, allocations: 0 / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2622, allocations: 4 kB / 0.9814 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.2622, allocations: 4 kB / 0.9814 GB, free: 25.76 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.0003788/0.2625, allocations: 0.5004 MB / 0.9819 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2626, allocations: 12.02 kB / 0.9819 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.777e-05/0.2626, allocations: 50.55 kB / 0.9819 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.2627, allocations: 15.81 kB / 0.982 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.862e-05/0.2628, allocations: 174.9 kB / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.2629, allocations: 4 kB / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.2629, allocations: 4 kB / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.2631, allocations: 245.4 kB / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2631, allocations: 0 / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.2632, allocations: 0 / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.2632, allocations: 0 / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.2633, allocations: 147.9 kB / 0.9825 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/0.2634, allocations: 197.4 kB / 0.9827 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002986/0.2637, allocations: 0.5298 MB / 0.9832 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002492/0.264, allocations: 0.5204 MB / 0.9837 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-06/0.264, allocations: 4 kB / 0.9837 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003313/0.2643, allocations: 399.7 kB / 0.9841 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 1.362e-06/0.2643, allocations: 0 / 0.9841 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39): time 0.0006346/0.265, allocations: 0.6792 MB / 0.9848 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/0.2651, allocations: 109.1 kB / 0.9849 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.517e-05/0.2651, allocations: 101.8 kB / 0.985 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.2652, allocations: 25.7 kB / 0.985 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.64e-05/0.2652, allocations: 84.83 kB / 0.9851 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/0.2653, allocations: 78.94 kB / 0.9852 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.2653, allocations: 0 / 0.9852 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.804e-05/0.2653, allocations: 322.8 kB / 0.9855 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.618e-05/0.2654, allocations: 83.97 kB / 0.9855 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.643e-05/0.2655, allocations: 87.86 kB / 0.9856 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.2656, allocations: 181.5 kB / 0.9858 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2656, allocations: 0 / 0.9858 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002826/0.2659, allocations: 340.3 kB / 0.9861 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.195e-05/0.266, allocations: 77.7 kB / 0.9862 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.266, allocations: 4 kB / 0.9862 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.266, allocations: 4 kB / 0.9862 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.721e-05/0.2661, allocations: 4 kB / 0.9862 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.2661, allocations: 0 / 0.9862 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.2663, allocations: 23.73 kB / 0.9862 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.2663, allocations: 8 kB / 0.9862 GB, free: 20.52 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.0002269/0.2665, allocations: 273.6 kB / 0.9865 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.2666, allocations: 15.91 kB / 0.9865 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.417e-05/0.2666, allocations: 5.219 kB / 0.9865 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2666, allocations: 4 kB / 0.9865 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.2666, allocations: 7.938 kB / 0.9865 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2666, allocations: 0 / 0.9865 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.2668, allocations: 241.3 kB / 0.9868 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.2668, allocations: 11.89 kB / 0.9868 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-07/0.2668, allocations: 0 / 0.9868 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2668, allocations: 0 / 0.9868 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.2668, allocations: 15.98 kB / 0.9868 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2668, allocations: 0 / 0.9868 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2668, allocations: 0 / 0.9868 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009272/0.2678, allocations: 1.283 MB / 0.988 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.2678, allocations: 93.09 kB / 0.9881 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.262e-05/0.2679, allocations: 71.95 kB / 0.9882 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.482e-05/0.268, allocations: 11.98 kB / 0.9882 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.268, allocations: 11.98 kB / 0.9882 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.2681, allocations: 15.98 kB / 0.9882 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.539e-05/0.2681, allocations: 75.28 kB / 0.9883 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2681, allocations: 0 / 0.9883 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002786/0.2684, allocations: 72.03 kB / 0.9884 GB, free: 18.22 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.001427/0.2698, allocations: 1.958 MB / 0.9903 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001134/0.271, allocations: 1.964 MB / 0.9922 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.271, allocations: 4.094 kB / 0.9922 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.272, allocations: 2.018 MB / 0.9942 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.2723, allocations: 21.06 kB / 0.9942 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006342/0.2729, allocations: 408.2 kB / 0.9946 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.2731, allocations: 0.713 MB / 0.9953 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.647e-05/0.2731, allocations: 0 / 0.9953 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.2731, allocations: 31.42 kB / 0.9953 GB, free: 11 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2731, allocations: 0 / 0.9953 GB, free: 11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0157/0.2889, allocations: 3.895 MB / 0.9991 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/0.2891, allocations: 250.7 kB / 0.9994 GB, free: 6.941 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/1.99, allocations: 0 / 0.9994 GB, free: 6.941 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)