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.694/1.694, allocations: 285.4 MB / 298 MB, free: 6 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.001164/0.001165, allocations: 180.8 kB / 366.4 MB, free: 2.086 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.735/1.735, allocations: 205.1 MB / 0.6248 GB, free: 7.723 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008515/0.0008518, allocations: 97.31 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.149e-05/7.163e-05, allocations: 8 kB / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.814/0.8142, allocations: 115.3 MB / 0.971 GB, free: 77.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1851/0.9993, allocations: 137.8 MB / 1.106 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.9997, allocations: 70.95 kB / 1.106 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01106/1.011, allocations: 3.54 MB / 1.109 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.054e-06/1.011, allocations: 0 / 1.109 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.227e-05/1.011, allocations: 0 / 1.109 GB, free: 10.38 MB / 0.7136 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.0008623/1.012, allocations: 483.1 kB / 1.11 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/1.012, allocations: 12.03 kB / 1.11 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.308e-05/1.012, allocations: 38.55 kB / 1.11 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/1.012, allocations: 23.75 kB / 1.11 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/1.012, allocations: 215.5 kB / 1.11 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/1.012, allocations: 4 kB / 1.11 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/1.012, allocations: 8 kB / 1.11 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/1.013, allocations: 124 kB / 1.11 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/1.013, allocations: 0 / 1.11 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/1.013, allocations: 4 kB / 1.11 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/1.013, allocations: 4 kB / 1.11 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/1.013, allocations: 79.98 kB / 1.11 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/1.014, allocations: 0.5111 MB / 1.111 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/1.014, allocations: 78.56 kB / 1.111 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/1.014, allocations: 76.8 kB / 1.111 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.024e-05/1.014, allocations: 4 kB / 1.111 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/1.014, allocations: 34.33 kB / 1.111 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 2.534e-06/1.014, allocations: 0 / 1.111 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0003718/1.015, allocations: 165.4 kB / 1.111 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/1.015, allocations: 51.41 kB / 1.111 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/1.015, allocations: 132.1 kB / 1.111 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/1.015, allocations: 25.7 kB / 1.111 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.015e-05/1.015, allocations: 112.4 kB / 1.111 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.314e-05/1.015, allocations: 47.27 kB / 1.111 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/1.015, allocations: 0 / 1.111 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.015, allocations: 326.8 kB / 1.112 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.846e-05/1.015, allocations: 47.98 kB / 1.112 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.41e-05/1.015, allocations: 57.95 kB / 1.112 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.684e-05/1.015, allocations: 63.91 kB / 1.112 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.015, allocations: 0 / 1.112 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002637/1.016, allocations: 163 kB / 1.112 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/1.016, allocations: 8 kB / 1.112 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/1.016, allocations: 7.984 kB / 1.112 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/1.016, allocations: 0 / 1.112 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/1.016, allocations: 47.95 kB / 1.112 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/1.016, allocations: 13.19 kB / 1.112 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/1.016, allocations: 47.8 kB / 1.112 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/1.016, allocations: 4 kB / 1.112 GB, free: 7.207 MB / 0.7136 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 () * 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 8.408e-05/1.016, allocations: 109 kB / 1.112 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/1.016, allocations: 15.77 kB / 1.112 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003407/1.017, allocations: 190.3 kB / 1.112 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.017, allocations: 0 / 1.112 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.017, allocations: 0 / 1.112 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/1.017, allocations: 0 / 1.112 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/1.017, allocations: 257.5 kB / 1.113 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/1.017, allocations: 4.938 kB / 1.113 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/1.017, allocations: 47.95 kB / 1.113 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/1.017, allocations: 7.953 kB / 1.113 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/1.017, allocations: 3.984 kB / 1.113 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/1.017, allocations: 0 / 1.113 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.017, allocations: 0 / 1.113 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000329/1.018, allocations: 263.9 kB / 1.113 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/1.018, allocations: 84.92 kB / 1.113 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/1.018, allocations: 11.95 kB / 1.113 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/1.018, allocations: 43.95 kB / 1.113 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/1.018, allocations: 17.56 kB / 1.113 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/1.018, allocations: 4 kB / 1.113 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.112e-05/1.018, allocations: 110.1 kB / 1.113 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.018, allocations: 0 / 1.113 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003108/1.019, allocations: 43.94 kB / 1.113 GB, free: 5.922 MB / 0.7136 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 () * 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.0007163/1.019, allocations: 0.8231 MB / 1.114 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003149/1.02, allocations: 199.3 kB / 1.114 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.02, allocations: 0 / 1.114 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/1.02, allocations: 146 kB / 1.114 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/1.02, allocations: 21.81 kB / 1.114 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007133/1.021, allocations: 275.1 kB / 1.115 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/1.021, allocations: 0.7262 MB / 1.115 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.655e-05/1.021, allocations: 15.97 kB / 1.115 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.875e-05/1.021, allocations: 31.44 kB / 1.115 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/1.021, allocations: 0 / 1.115 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01507/1.036, allocations: 3.108 MB / 1.118 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/1.037, allocations: 169.2 kB / 1.119 GB, free: 496 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/2.701, allocations: 0 / 1.119 GB, free: 496 kB / 0.7136 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)