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.486/1.486, allocations: 249.3 MB / 261.8 MB, free: 5.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 174.1 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0007853/0.0007855, allocations: 90.48 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.56e-05/3.566e-05, allocations: 8 kB / 0.7881 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.202, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7447/0.9467, allocations: 131.7 MB / 1.021 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.947, allocations: 75.75 kB / 1.021 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0105/0.9575, allocations: 3.596 MB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9576, allocations: 0 / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.9576, allocations: 4 kB / 1.024 GB, free: 15.75 MB / 0.6511 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.0007549/0.9584, allocations: 480.4 kB / 1.025 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.9584, allocations: 12.03 kB / 1.025 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.993e-05/0.9585, allocations: 41.98 kB / 1.025 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.9585, allocations: 11.81 kB / 1.025 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.9588, allocations: 219.7 kB / 1.025 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.9588, allocations: 7.375 kB / 1.025 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.9588, allocations: 4 kB / 1.025 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.9591, allocations: 120.9 kB / 1.025 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.9591, allocations: 3.938 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.9591, allocations: 11.19 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.9591, allocations: 7.984 kB / 1.025 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.9593, allocations: 79.17 kB / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009214/0.9602, allocations: 0.5079 MB / 1.026 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.9603, allocations: 91.75 kB / 1.026 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.57e-05/0.9605, allocations: 69.2 kB / 1.026 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.9605, allocations: 3.984 kB / 1.026 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.9605, allocations: 30.56 kB / 1.026 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.9605, allocations: 0 / 1.026 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0003038/0.9608, allocations: 163.7 kB / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.9609, allocations: 55.41 kB / 1.026 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.961, allocations: 131 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.961, allocations: 25.7 kB / 1.026 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.278e-05/0.9611, allocations: 110.9 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.9611, allocations: 54.95 kB / 1.026 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.9611, allocations: 0 / 1.026 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.9613, allocations: 325.8 kB / 1.027 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.845e-05/0.9613, allocations: 48.42 kB / 1.027 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.519e-05/0.9614, allocations: 57.98 kB / 1.027 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.755e-05/0.9615, allocations: 66.23 kB / 1.027 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.9615, allocations: 0 / 1.027 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002227/0.9617, allocations: 160.3 kB / 1.027 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.9618, allocations: 4 kB / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.9618, allocations: 4 kB / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-06/0.9618, allocations: 0 / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.9621, allocations: 51.95 kB / 1.027 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.9621, allocations: 3.984 kB / 1.027 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.9623, allocations: 51.25 kB / 1.027 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.9623, allocations: 11.92 kB / 1.027 GB, free: 12.91 MB / 0.6511 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.933e-05/0.9624, allocations: 106.6 kB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.9624, allocations: 15.86 kB / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003339/0.9628, allocations: 186.2 kB / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.9628, allocations: 0 / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.9628, allocations: 4 kB / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.9628, allocations: 7.984 kB / 1.027 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.9631, allocations: 239.5 kB / 1.028 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.9631, allocations: 7.891 kB / 1.028 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.9633, allocations: 54.89 kB / 1.028 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.9633, allocations: 4 kB / 1.028 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.9633, allocations: 0 / 1.028 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.9633, allocations: 0 / 1.028 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.9633, allocations: 3.938 kB / 1.028 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.9636, allocations: 272.5 kB / 1.028 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.9637, allocations: 88.97 kB / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.9637, allocations: 0 / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.9639, allocations: 43.95 kB / 1.028 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.82e-05/0.964, allocations: 11.17 kB / 1.028 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.964, allocations: 7.984 kB / 1.028 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.173e-05/0.9641, allocations: 106 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9641, allocations: 0 / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002708/0.9644, allocations: 54.77 kB / 1.028 GB, free: 11.75 MB / 0.6511 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.0006301/0.965, allocations: 0.8173 MB / 1.029 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002715/0.9653, allocations: 194.9 kB / 1.029 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.9653, allocations: 4 kB / 1.029 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.9655, allocations: 139.4 kB / 1.029 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.9657, allocations: 21.48 kB / 1.029 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000553/0.9663, allocations: 278.6 kB / 1.03 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.9665, allocations: 0.7247 MB / 1.03 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.791e-05/0.9666, allocations: 23.92 kB / 1.03 GB, free: 9.594 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.386e-05/0.9667, allocations: 37.11 kB / 1.03 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/0.9667, allocations: 0 / 1.03 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.9816, allocations: 3.097 MB / 1.033 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/0.9819, allocations: 172.8 kB / 1.034 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/2.721, allocations: 0 / 1.034 GB, free: 6.375 MB / 0.6511 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)