Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.484/2.484, allocations: 284.9 MB / 292.4 MB, free: 10.48 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.00155/0.001549, allocations: 176.9 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001105/0.001105, allocations: 90.64 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.822e-05/3.837e-05, allocations: 12 kB / 0.8509 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8797/0.8798, allocations: 115.3 MB / 0.9634 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2472/1.127, allocations: 137 MB / 1.097 GB, free: 3.406 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/1.127, allocations: 76.45 kB / 1.097 GB, free: 3.332 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0169/1.144, allocations: 3.519 MB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.533e-06/1.144, allocations: 0 / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.405e-05/1.144, allocations: 4 kB / 1.101 GB, free: 15.88 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.001232/1.146, allocations: 482 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/1.146, allocations: 16.03 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.414e-05/1.146, allocations: 13.02 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/1.146, allocations: 214.7 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/1.146, allocations: 4 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/1.146, allocations: 4 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002977/1.147, allocations: 71.98 kB / 1.102 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/1.147, allocations: 112 kB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/1.147, allocations: 3.375 kB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/1.147, allocations: 0 / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/1.147, allocations: 4 kB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/1.148, allocations: 496.9 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/1.149, allocations: 77.25 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/1.149, allocations: 69.83 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.449e-05/1.149, allocations: 7.953 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/1.149, allocations: 37.12 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 2.425e-06/1.149, allocations: 0 / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0006069/1.15, allocations: 161.5 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/1.15, allocations: 51.41 kB / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/1.15, allocations: 124.1 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/1.15, allocations: 29.7 kB / 1.103 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.242e-05/1.15, allocations: 108.4 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.885e-05/1.15, allocations: 51.27 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.303e-05/1.15, allocations: 0 / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.15, allocations: 322.8 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/1.15, allocations: 51.98 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/1.151, allocations: 48.97 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/1.151, allocations: 69.73 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.151, allocations: 0 / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004508/1.151, allocations: 165.5 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/1.151, allocations: 7.953 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.737e-05/1.151, allocations: 4 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/1.151, allocations: 0 / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004545/1.152, allocations: 43.95 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/1.152, allocations: 8 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003851/1.152, allocations: 55.73 kB / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.159e-05/1.152, allocations: 4 kB / 1.104 GB, free: 12.84 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 0.0001142/1.152, allocations: 108.8 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005127/1.153, allocations: 157.5 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.128e-05/1.153, allocations: 16.66 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006156/1.154, allocations: 191.8 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/1.154, allocations: 0 / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.154, allocations: 0.8906 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.154, allocations: 1.969 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003568/1.154, allocations: 225.9 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/1.154, allocations: 4 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004408/1.155, allocations: 51.91 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/1.155, allocations: 0 / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/1.155, allocations: 0 / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/1.155, allocations: 0 / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.155, allocations: 8 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005787/1.155, allocations: 259.2 kB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.796e-05/1.155, allocations: 88.95 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/1.155, allocations: 6.891 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004281/1.156, allocations: 43.95 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.707e-05/1.156, allocations: 19.95 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/1.156, allocations: 4 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00011/1.156, allocations: 104.9 kB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.156, allocations: 0 / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004314/1.156, allocations: 43.91 kB / 1.105 GB, free: 11.45 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.001069/1.158, allocations: 0.8252 MB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004452/1.158, allocations: 199.4 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.158, allocations: 0 / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002386/1.158, allocations: 143.3 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/1.159, allocations: 29.03 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009241/1.16, allocations: 250.5 kB / 1.106 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/1.16, allocations: 0.7237 MB / 1.107 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001462/1.16, allocations: 15.98 kB / 1.107 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/1.16, allocations: 39.42 kB / 1.107 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of SimCode: time 1.614e-06/1.16, allocations: 0 / 1.107 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04387/1.204, allocations: 2.685 MB / 1.11 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003046/1.205, allocations: 147.3 kB / 1.11 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.512/3.717, allocations: 0 / 1.11 GB, free: 6.316 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)