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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.69/1.69, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001145/0.001145, allocations: 172.9 kB / 361.4 MB, free: 6.824 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.515/1.515, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008192/0.0008191, allocations: 92.08 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.089e-05/2.09e-05, allocations: 8 kB / 0.8518 GB, free: 2.711 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6928/0.6928, allocations: 115.3 MB / 0.9644 GB, free: 78.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.194/0.8868, allocations: 137.2 MB / 1.098 GB, free: 2.637 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.8871, allocations: 67.95 kB / 1.098 GB, free: 2.57 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009703/0.8968, allocations: 3.52 MB / 1.102 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8969, allocations: 0.8438 kB / 1.102 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.8969, allocations: 4 kB / 1.102 GB, free: 15.11 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.0007275/0.8976, allocations: 474.1 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.8977, allocations: 8.031 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/0.8978, allocations: 12.84 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.898, allocations: 217.5 kB / 1.103 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.898, allocations: 4 kB / 1.103 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.898, allocations: 8 kB / 1.103 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001863/0.8982, allocations: 71.98 kB / 1.103 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.8984, allocations: 115 kB / 1.103 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.8984, allocations: 0 / 1.103 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.8985, allocations: 4 kB / 1.103 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.8985, allocations: 0 / 1.103 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008983/0.8994, allocations: 498.8 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.8995, allocations: 81.06 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.213e-05/0.8996, allocations: 68.84 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.473e-05/0.8997, allocations: 3.953 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.8997, allocations: 34.56 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.8997, allocations: 0 / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0003721/0.9001, allocations: 161.5 kB / 1.104 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.9001, allocations: 51.41 kB / 1.104 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.9002, allocations: 128 kB / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.9003, allocations: 25.7 kB / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.783e-05/0.9004, allocations: 108.4 kB / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/0.9004, allocations: 51.27 kB / 1.104 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/0.9004, allocations: 4 kB / 1.104 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.9005, allocations: 322.8 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.432e-05/0.9006, allocations: 51.98 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.158e-05/0.9007, allocations: 55.92 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.9008, allocations: 66.3 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.9008, allocations: 0 / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002331/0.9011, allocations: 153.5 kB / 1.105 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.9011, allocations: 4 kB / 1.105 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/0.9011, allocations: 9.078 kB / 1.105 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.9012, allocations: 0 / 1.105 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.9014, allocations: 51.95 kB / 1.105 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.9014, allocations: 0 / 1.105 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.9016, allocations: 59.73 kB / 1.105 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.9017, allocations: 4 kB / 1.105 GB, free: 12.08 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 6.993e-05/0.9018, allocations: 102.7 kB / 1.105 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.9018, allocations: 9.875 kB / 1.105 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003392/0.9021, allocations: 196.6 kB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.9022, allocations: 4.891 kB / 1.105 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.9022, allocations: 0 / 1.105 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.9022, allocations: 7.984 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.9024, allocations: 214 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.9024, allocations: 3.125 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.9027, allocations: 59.94 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.9027, allocations: 0 / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.9027, allocations: 4 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.9027, allocations: 0 / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.9027, allocations: 3.953 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.903, allocations: 260.2 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.915e-05/0.9031, allocations: 92.92 kB / 1.106 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.9031, allocations: 0 / 1.106 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.9033, allocations: 39.95 kB / 1.106 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.975e-05/0.9034, allocations: 20.45 kB / 1.106 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.9034, allocations: 4 kB / 1.106 GB, free: 11 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.927e-05/0.9035, allocations: 105.7 kB / 1.106 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9035, allocations: 4 kB / 1.106 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003115/0.9038, allocations: 39.94 kB / 1.106 GB, free: 10.86 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.0002297/0.904, allocations: 132.4 kB / 1.106 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002993/0.9044, allocations: 195.3 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.9044, allocations: 0 / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.9045, allocations: 139.4 kB / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.9048, allocations: 12.78 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004063/0.9052, allocations: 204.9 kB / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.9055, allocations: 0.7245 MB / 1.107 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.547e-05/0.9056, allocations: 21.75 kB / 1.107 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.9056, allocations: 14.44 kB / 1.107 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.9056, allocations: 0 / 1.107 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of Templates: time 0.004058/0.9097, allocations: 1.499 MB / 1.109 GB, free: 7.906 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)