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.654/1.654, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001223/0.001223, allocations: 180.9 kB / 361.4 MB, free: 6.789 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.7/1.7, allocations: 205.3 MB / 0.62 GB, free: 11.63 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.000822/0.0008219, allocations: 103.6 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.438e-05/3.438e-05, allocations: 8 kB / 0.8519 GB, free: 2.605 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8241/0.8242, allocations: 115.3 MB / 0.9645 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2272/1.051, allocations: 137.2 MB / 1.098 GB, free: 2.531 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/1.052, allocations: 71.89 kB / 1.099 GB, free: 2.461 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01099/1.063, allocations: 3.523 MB / 1.102 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.104e-06/1.063, allocations: 0 / 1.102 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.754e-05/1.063, allocations: 4 kB / 1.102 GB, free: 15.01 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.0008809/1.064, allocations: 478.1 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/1.064, allocations: 16.02 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.406e-05/1.064, allocations: 11.81 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/1.064, allocations: 219.7 kB / 1.103 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/1.064, allocations: 5.062 kB / 1.103 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/1.064, allocations: 4 kB / 1.103 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002289/1.065, allocations: 75.98 kB / 1.103 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/1.065, allocations: 105.6 kB / 1.103 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/1.065, allocations: 0 / 1.103 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/1.065, allocations: 0 / 1.103 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/1.065, allocations: 8 kB / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009683/1.066, allocations: 488.9 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/1.066, allocations: 81.25 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/1.066, allocations: 68.84 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.726e-05/1.066, allocations: 0 / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/1.066, allocations: 38.45 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.112e-06/1.066, allocations: 0 / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0004249/1.067, allocations: 159.7 kB / 1.104 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/1.067, allocations: 55.39 kB / 1.104 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/1.067, allocations: 130.6 kB / 1.104 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/1.067, allocations: 25.7 kB / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.099e-05/1.067, allocations: 108.4 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.513e-05/1.067, allocations: 51.27 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-06/1.067, allocations: 1.219 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.067, allocations: 322.8 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.127e-05/1.067, allocations: 51.98 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.487e-05/1.067, allocations: 47.98 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/1.067, allocations: 67.91 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.067, allocations: 4 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002732/1.068, allocations: 163.9 kB / 1.105 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/1.068, allocations: 5.094 kB / 1.105 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/1.068, allocations: 7.25 kB / 1.105 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/1.068, allocations: 3.953 kB / 1.105 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/1.068, allocations: 51.95 kB / 1.105 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/1.068, allocations: 0 / 1.105 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/1.068, allocations: 55.73 kB / 1.105 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/1.068, allocations: 11.09 kB / 1.105 GB, free: 11.96 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.657e-05/1.069, allocations: 101 kB / 1.105 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002709/1.069, allocations: 157.5 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/1.069, allocations: 15.77 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003642/1.069, allocations: 192.5 kB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/1.069, allocations: 0 / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.351e-06/1.069, allocations: 0 / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/1.069, allocations: 0 / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/1.069, allocations: 222 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/1.07, allocations: 0 / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/1.07, allocations: 47.95 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/1.07, allocations: 0 / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/1.07, allocations: 7.953 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/1.07, allocations: 4 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/1.07, allocations: 0 / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/1.07, allocations: 260.7 kB / 1.106 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/1.07, allocations: 88.95 kB / 1.106 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/1.07, allocations: 0 / 1.106 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/1.07, allocations: 47.91 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.375e-05/1.071, allocations: 15.97 kB / 1.106 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/1.071, allocations: 4 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.281e-05/1.071, allocations: 109.6 kB / 1.106 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.071, allocations: 0 / 1.106 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003264/1.071, allocations: 43.91 kB / 1.106 GB, free: 10.59 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.0007903/1.072, allocations: 0.8292 MB / 1.107 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002977/1.072, allocations: 199.4 kB / 1.107 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.072, allocations: 0 / 1.107 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/1.072, allocations: 139.3 kB / 1.107 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/1.073, allocations: 28.7 kB / 1.107 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006166/1.073, allocations: 251.1 kB / 1.107 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/1.074, allocations: 0.7214 MB / 1.108 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.381e-05/1.074, allocations: 23.97 kB / 1.108 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.339e-05/1.074, allocations: 35.42 kB / 1.108 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/1.074, allocations: 0 / 1.108 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/1.097, allocations: 2.695 MB / 1.111 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002408/1.097, allocations: 156.6 kB / 1.111 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.179/3.276, allocations: 2.953 kB / 1.111 GB, free: 5.457 MB / 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)