Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.48/1.48, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 185.7 kB / 326.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.4 MB / 0.5776 GB, free: 20.3 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007851/0.0007851, allocations: 93.34 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.0003371, allocations: 13.19 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2638, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001637/0.2655, allocations: 1.266 MB / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006208/0.2662, allocations: 320 kB / 0.9019 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.595e-05/0.2662, allocations: 0 / 0.9019 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.693e-05/0.2663, allocations: 11.94 kB / 0.9019 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.668e-05/0.2664, allocations: 15.84 kB / 0.9019 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.2667, allocations: 63.88 kB / 0.902 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.2669, allocations: 103.7 kB / 0.9021 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.2671, allocations: 37.38 kB / 0.9021 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.959e-05/0.2672, allocations: 39.84 kB / 0.9021 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.043e-05/0.2672, allocations: 55.7 kB / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.2673, allocations: 8 kB / 0.9022 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.781e-05/0.2674, allocations: 51.95 kB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.765e-05/0.2674, allocations: 19.92 kB / 0.9023 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.96e-05/0.2675, allocations: 45.58 kB / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.2676, allocations: 127.7 kB / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.2676, allocations: 4 kB / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2676, allocations: 0 / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.2677, allocations: 0 / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007371/0.2684, allocations: 487.1 kB / 0.9029 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.2684, allocations: 12.03 kB / 0.9029 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.2685, allocations: 42.55 kB / 0.9029 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.2685, allocations: 11.81 kB / 0.903 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.2687, allocations: 212.6 kB / 0.9032 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.2687, allocations: 4 kB / 0.9032 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.2687, allocations: 8 kB / 0.9032 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005449/0.2693, allocations: 217.4 kB / 0.9034 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2693, allocations: 3.938 kB / 0.9034 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.2693, allocations: 0 / 0.9034 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-05/0.2694, allocations: 19.98 kB / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006803/0.2701, allocations: 247.8 kB / 0.9036 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008412/0.2709, allocations: 488.3 kB / 0.9041 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003995/0.2713, allocations: 178.4 kB / 0.9043 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003577/0.2717, allocations: 152.8 kB / 0.9044 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.2717, allocations: 3.938 kB / 0.9044 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.2717, allocations: 34.52 kB / 0.9045 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.2717, allocations: 0 / 0.9045 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.001184/0.2729, allocations: 475.6 kB / 0.9049 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.273, allocations: 51.41 kB / 0.905 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.306e-05/0.2731, allocations: 153.7 kB / 0.9051 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.2731, allocations: 25.7 kB / 0.9051 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.2731, allocations: 112.4 kB / 0.9052 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.2732, allocations: 47.27 kB / 0.9053 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-06/0.2732, allocations: 4 kB / 0.9053 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.924e-05/0.2733, allocations: 326.8 kB / 0.9056 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.2736, allocations: 139.8 kB / 0.9057 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.2739, allocations: 139.9 kB / 0.9059 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/0.2743, allocations: 153 kB / 0.906 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.2743, allocations: 0 / 0.906 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007669/0.2751, allocations: 333.3 kB / 0.9063 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.2751, allocations: 7.953 kB / 0.9063 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2751, allocations: 0 / 0.9063 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.2751, allocations: 0 / 0.9063 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.2754, allocations: 55.95 kB / 0.9064 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.2754, allocations: 0 / 0.9064 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.2756, allocations: 51.89 kB / 0.9064 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.2756, allocations: 4 kB / 0.9064 GB, free: 57.29 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 2 * Algorithm blocks: 0 * 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 8.603e-05/0.2757, allocations: 130.4 kB / 0.9066 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.2757, allocations: 11.81 kB / 0.9066 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.955e-05/0.2758, allocations: 16.8 kB / 0.9066 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/0.2758, allocations: 19.97 kB / 0.9066 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2758, allocations: 0 / 0.9066 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2758, allocations: 0 / 0.9066 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.276, allocations: 221.6 kB / 0.9068 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.276, allocations: 0 / 0.9068 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.2762, allocations: 51.95 kB / 0.9069 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.2762, allocations: 0 / 0.9069 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.2763, allocations: 0 / 0.9069 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2763, allocations: 3.953 kB / 0.9069 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2763, allocations: 7.938 kB / 0.9069 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007973/0.2771, allocations: 448.8 kB / 0.9073 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.945e-05/0.2771, allocations: 85.02 kB / 0.9074 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.2772, allocations: 0 / 0.9074 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.2774, allocations: 39.95 kB / 0.9074 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.892e-05/0.2775, allocations: 23.92 kB / 0.9075 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.2775, allocations: 4 kB / 0.9075 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.44e-05/0.2776, allocations: 103.3 kB / 0.9076 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2776, allocations: 0 / 0.9076 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003153/0.2779, allocations: 51.83 kB / 0.9076 GB, free: 56 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 2 * Algorithm blocks: 0 * 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.001092/0.279, allocations: 0.9778 MB / 0.9086 GB, free: 55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007856/0.2798, allocations: 309.4 kB / 0.9089 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2798, allocations: 4 kB / 0.9089 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003705/0.2802, allocations: 159.9 kB / 0.909 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.2805, allocations: 25.08 kB / 0.909 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.2825, allocations: 1.18 MB / 0.9102 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.2827, allocations: 0.7201 MB / 0.9109 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.331e-05/0.2828, allocations: 23.91 kB / 0.9109 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.239e-05/0.2829, allocations: 35.42 kB / 0.9109 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of SimCode: time 3.81e-07/0.2829, allocations: 0 / 0.9109 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01318/0.2961, allocations: 2.984 MB / 0.9139 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/0.2963, allocations: 198.6 kB / 0.9141 GB, free: 49.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/2.026, allocations: 3.938 kB / 0.9141 GB, free: 49.41 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)