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.Modulo.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.Modulo,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",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.82/1.82, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001538/0.001538, allocations: 176.9 kB / 361.4 MB, free: 6.832 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.739/1.739, allocations: 205.2 MB / 0.62 GB, free: 11.69 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.0009082/0.0009082, allocations: 92.78 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.078e-05/4.111e-05, allocations: 8 kB / 0.8519 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8138/0.8139, allocations: 115.3 MB / 0.9645 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1941/1.008, allocations: 136.8 MB / 1.098 GB, free: 2.965 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/1.008, allocations: 74.3 kB / 1.098 GB, free: 2.895 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003757/1.012, allocations: 1.388 MB / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.894e-06/1.012, allocations: 0 / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.325e-06/1.012, allocations: 0 / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005153/1.013, allocations: 365.4 kB / 1.1 GB, free: 1.148 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/1.013, allocations: 12.03 kB / 1.1 GB, free: 1.137 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/1.013, allocations: 5.531 kB / 1.1 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/1.013, allocations: 179.5 kB / 1.1 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/1.013, allocations: 0 / 1.1 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/1.013, allocations: 0.6562 kB / 1.1 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001038/1.013, allocations: 20 kB / 1.1 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/1.013, allocations: 42.34 kB / 1.1 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/1.013, allocations: 2.125 kB / 1.1 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/1.013, allocations: 0.5 kB / 1.1 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/1.013, allocations: 0 / 1.1 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005987/1.014, allocations: 285.7 kB / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.791e-05/1.014, allocations: 34.58 kB / 1.1 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/1.014, allocations: 13.64 kB / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/1.014, allocations: 3.375 kB / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/1.014, allocations: 35.84 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.925e-06/1.014, allocations: 0.9375 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002071/1.014, allocations: 50.47 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/1.014, allocations: 52 kB / 1.101 GB, free: 328 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/1.015, allocations: 101.6 kB / 1.101 GB, free: 220 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/1.015, allocations: 29.69 kB / 1.101 GB, free: 184 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/1.015, allocations: 84.67 kB / 1.101 GB, free: 96 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/1.015, allocations: 16.47 kB / 1.101 GB, free: 80 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/1.015, allocations: 0 / 1.101 GB, free: 80 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001599/1.015, allocations: 319.1 kB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.616e-05/1.015, allocations: 8 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.53e-05/1.015, allocations: 15.98 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.358e-05/1.015, allocations: 9 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.015, allocations: 0 / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001042/1.015, allocations: 46.2 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/1.015, allocations: 11.59 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/1.015, allocations: 0 / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/1.015, allocations: 0 / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/1.015, allocations: 19.98 kB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/1.015, allocations: 0 / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.106e-05/1.015, allocations: 22.14 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/1.015, allocations: 5.594 kB / 1.101 GB, free: 15.63 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.877e-05/1.016, allocations: 108.9 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001059/1.016, allocations: 55.39 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/1.016, allocations: 4 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.534e-05/1.016, allocations: 11.72 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/1.016, allocations: 4 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/1.016, allocations: 3.984 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/1.016, allocations: 0 / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/1.016, allocations: 150.2 kB / 1.102 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/1.016, allocations: 0 / 1.102 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/1.016, allocations: 15.98 kB / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/1.016, allocations: 8 kB / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/1.016, allocations: 0 / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/1.016, allocations: 0 / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.016, allocations: 1.594 kB / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/1.016, allocations: 157.5 kB / 1.102 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/1.016, allocations: 81.11 kB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/1.016, allocations: 3.984 kB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/1.016, allocations: 19.98 kB / 1.102 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/1.017, allocations: 4 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/1.017, allocations: 0 / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.699e-05/1.017, allocations: 87.27 kB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.71e-07/1.017, allocations: 0 / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002166/1.017, allocations: 8 kB / 1.102 GB, free: 14.84 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0004382/1.017, allocations: 0.6887 MB / 1.103 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.894e-05/1.017, allocations: 23.94 kB / 1.103 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.017, allocations: 0 / 1.103 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.575e-05/1.017, allocations: 12 kB / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/1.018, allocations: 9.984 kB / 1.103 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003847/1.018, allocations: 103.9 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/1.018, allocations: 0.6846 MB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.342e-05/1.018, allocations: 0 / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/1.018, allocations: 15.44 kB / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/1.018, allocations: 0 / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/1.036, allocations: 1.002 MB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/1.037, allocations: 158.3 kB / 1.105 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/2.637, allocations: 2.109 kB / 1.105 GB, free: 12.07 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)