Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.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.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.725/1.725, allocations: 288.2 MB / 303.2 MB, free: 8.129 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.001086/0.001086, allocations: 185.1 kB / 371.8 MB, free: 10.12 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.551/1.551, allocations: 205.4 MB / 0.6305 GB, free: 9.973 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.0008505/0.0008504, allocations: 94.91 kB / 0.7439 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004095/0.0004095, allocations: 22.45 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2559, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8399/1.096, allocations: 137.9 MB / 1.114 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001941/1.096, allocations: 71 kB / 1.114 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01006/1.106, allocations: 3.531 MB / 1.118 GB, free: 32.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.112e-06/1.106, allocations: 0 / 1.118 GB, free: 32.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.376e-05/1.106, allocations: 3.844 kB / 1.118 GB, free: 32.07 MB / 0.698 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.0009282/1.107, allocations: 0.5013 MB / 1.118 GB, free: 31.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.071e-05/1.107, allocations: 11.48 kB / 1.118 GB, free: 31.65 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.709e-05/1.107, allocations: 41.05 kB / 1.118 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/1.107, allocations: 15.47 kB / 1.118 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/1.108, allocations: 201.5 kB / 1.118 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/1.108, allocations: 7.562 kB / 1.118 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/1.108, allocations: 7.812 kB / 1.118 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005557/1.108, allocations: 208.2 kB / 1.119 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/1.108, allocations: 4 kB / 1.119 GB, free: 31.35 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/1.108, allocations: 3.938 kB / 1.119 GB, free: 31.35 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/1.108, allocations: 10.48 kB / 1.119 GB, free: 31.35 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006712/1.109, allocations: 243.1 kB / 1.119 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009258/1.11, allocations: 0.5157 MB / 1.119 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/1.11, allocations: 164.3 kB / 1.12 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/1.11, allocations: 11.89 kB / 1.12 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/1.11, allocations: 34.5 kB / 1.12 GB, free: 30.97 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/1.11, allocations: 0 / 1.12 GB, free: 30.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.001237/1.112, allocations: 0.623 MB / 1.12 GB, free: 30.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/1.112, allocations: 59.25 kB / 1.12 GB, free: 30.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/1.112, allocations: 132.2 kB / 1.12 GB, free: 30.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/1.112, allocations: 25.7 kB / 1.12 GB, free: 30.54 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/1.112, allocations: 110.4 kB / 1.121 GB, free: 30.45 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.785e-05/1.112, allocations: 51.95 kB / 1.121 GB, free: 30.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.323e-06/1.112, allocations: 0 / 1.121 GB, free: 30.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.112, allocations: 324.9 kB / 1.121 GB, free: 30.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/1.112, allocations: 141 kB / 1.121 GB, free: 30.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/1.113, allocations: 135.9 kB / 1.121 GB, free: 30.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/1.113, allocations: 143.5 kB / 1.121 GB, free: 30.09 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.113, allocations: 3.938 kB / 1.121 GB, free: 30.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007383/1.114, allocations: 331.4 kB / 1.122 GB, free: 30.03 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/1.114, allocations: 7.688 kB / 1.122 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/1.114, allocations: 2.953 kB / 1.122 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/1.114, allocations: 0 / 1.122 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/1.114, allocations: 51.48 kB / 1.122 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/1.114, allocations: 4.547 kB / 1.122 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/1.114, allocations: 39.94 kB / 1.122 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/1.115, allocations: 19.19 kB / 1.122 GB, free: 30.01 MB / 0.698 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: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001171/1.115, allocations: 120.8 kB / 1.122 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/1.115, allocations: 15.14 kB / 1.122 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008051/1.115, allocations: 366.1 kB / 1.122 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.115, allocations: 0 / 1.122 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.116, allocations: 3.812 kB / 1.122 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/1.116, allocations: 0 / 1.122 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/1.116, allocations: 253.5 kB / 1.122 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/1.116, allocations: 0 / 1.122 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/1.116, allocations: 50.34 kB / 1.123 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/1.116, allocations: 3.953 kB / 1.123 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/1.116, allocations: 7.078 kB / 1.123 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.116, allocations: 0 / 1.123 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.116, allocations: 0 / 1.123 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007477/1.117, allocations: 436.7 kB / 1.123 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/1.117, allocations: 92.67 kB / 1.123 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/1.117, allocations: 3.953 kB / 1.123 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/1.117, allocations: 46.55 kB / 1.123 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/1.117, allocations: 13.39 kB / 1.123 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/1.117, allocations: 3.844 kB / 1.123 GB, free: 29.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.248e-05/1.117, allocations: 108.1 kB / 1.123 GB, free: 29.28 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.117, allocations: 0 / 1.123 GB, free: 29.28 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002843/1.118, allocations: 41.33 kB / 1.123 GB, free: 29.28 MB / 0.698 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: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001164/1.119, allocations: 0.9959 MB / 1.124 GB, free: 28.59 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007713/1.119, allocations: 364.9 kB / 1.125 GB, free: 28.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.12, allocations: 0 / 1.125 GB, free: 28.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00039/1.12, allocations: 228.7 kB / 1.125 GB, free: 28.45 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/1.12, allocations: 27.66 kB / 1.125 GB, free: 28.44 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/1.122, allocations: 1.165 MB / 1.126 GB, free: 27.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/1.122, allocations: 0.7253 MB / 1.127 GB, free: 27.29 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.623e-05/1.123, allocations: 17.7 kB / 1.127 GB, free: 27.29 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/1.123, allocations: 36.7 kB / 1.127 GB, free: 27.28 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/1.123, allocations: 0 / 1.127 GB, free: 27.28 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/1.138, allocations: 3.055 MB / 1.13 GB, free: 27.04 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/1.138, allocations: 190.3 kB / 1.13 GB, free: 26.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.852, allocations: 3.234 kB / 1.13 GB, free: 26.8 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)