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.Max.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.Max,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",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.557/1.557, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001238/0.001238, allocations: 179.3 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.945/1.945, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0009425/0.0009425, allocations: 88.42 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003082/0.0003085, allocations: 17.16 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2169, allocations: 106.4 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1651/0.382, allocations: 131.4 MB / 1.028 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.3822, allocations: 75.94 kB / 1.029 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002285/0.3845, allocations: 0.8253 MB / 1.029 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3846, allocations: 0 / 1.029 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.3846, allocations: 0 / 1.029 GB, free: 11.36 MB / 0.6823 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.0005689/0.3852, allocations: 379.1 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.3852, allocations: 15.97 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.599e-05/0.3853, allocations: 34.56 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.018e-05/0.3853, allocations: 0 / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.3855, allocations: 174.9 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.3855, allocations: 0 / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.3855, allocations: 8 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003644/0.3859, allocations: 81.64 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.3859, allocations: 0 / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.386, allocations: 4 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.386, allocations: 0 / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004544/0.3864, allocations: 83.92 kB / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007091/0.3872, allocations: 312.7 kB / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.3874, allocations: 70.53 kB / 1.03 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.3874, allocations: 3.984 kB / 1.03 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.3875, allocations: 30.56 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.3875, allocations: 0 / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005614/0.3881, allocations: 165.6 kB / 1.031 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.3881, allocations: 55.39 kB / 1.031 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.873e-05/0.3882, allocations: 97 kB / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.3882, allocations: 25.7 kB / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.216e-05/0.3883, allocations: 92.03 kB / 1.031 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.3883, allocations: 11.91 kB / 1.031 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.3883, allocations: 4 kB / 1.031 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3884, allocations: 314.8 kB / 1.031 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.3886, allocations: 43.95 kB / 1.031 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.3887, allocations: 47.91 kB / 1.031 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.3889, allocations: 39.97 kB / 1.031 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3889, allocations: 7.984 kB / 1.031 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003313/0.3892, allocations: 113.6 kB / 1.031 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3893, allocations: 8 kB / 1.031 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3893, allocations: 0 / 1.031 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.3893, allocations: 0 / 1.031 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.3894, allocations: 23.92 kB / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3894, allocations: 0 / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.398e-05/0.3895, allocations: 23.92 kB / 1.032 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.3896, allocations: 3.984 kB / 1.032 GB, free: 8.91 MB / 0.6823 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 () * Number of clocked 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.599e-05/0.3897, allocations: 121.7 kB / 1.032 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.3897, allocations: 3.906 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003649/0.3901, allocations: 129.5 kB / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3901, allocations: 0 / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3901, allocations: 0 / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3901, allocations: 0 / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.3903, allocations: 173.6 kB / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3903, allocations: 0 / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.3904, allocations: 27.91 kB / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3904, allocations: 0 / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.3904, allocations: 0 / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3904, allocations: 0 / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3904, allocations: 0 / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/0.3908, allocations: 223.4 kB / 1.032 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/0.3909, allocations: 85 kB / 1.032 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.3909, allocations: 0 / 1.032 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.391, allocations: 15.98 kB / 1.032 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.391, allocations: 3.984 kB / 1.032 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.391, allocations: 8 kB / 1.032 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.345e-05/0.3911, allocations: 87.27 kB / 1.032 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3911, allocations: 4 kB / 1.032 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000201/0.3913, allocations: 8 kB / 1.032 GB, free: 7.934 MB / 0.6823 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 () * Number of clocked 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.0006808/0.392, allocations: 0.7525 MB / 1.033 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003234/0.3923, allocations: 91.95 kB / 1.033 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3923, allocations: 0 / 1.033 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.3925, allocations: 59.89 kB / 1.033 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.3927, allocations: 7.938 kB / 1.033 GB, free: 7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004209/0.3931, allocations: 175.3 kB / 1.033 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.3934, allocations: 0.6848 MB / 1.034 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.914e-05/0.3934, allocations: 0 / 1.034 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.041e-05/0.3935, allocations: 15.44 kB / 1.034 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of SimCode: time 2.11e-07/0.3935, allocations: 0 / 1.034 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01057/0.4041, allocations: 1.273 MB / 1.035 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/0.4043, allocations: 190.7 kB / 1.036 GB, free: 4.695 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.473/1.877, allocations: 2.531 kB / 1.036 GB, free: 4.695 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)