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.Max.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.Max,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.729/1.729, allocations: 285.4 MB / 298 MB, free: 5.938 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.001121/0.001121, allocations: 180.9 kB / 366.4 MB, free: 2.078 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.678/1.678, allocations: 205.1 MB / 0.6248 GB, free: 7.73 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.0008267/0.000827, allocations: 84.28 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.27e-05/3.273e-05, allocations: 8 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6461/0.6462, allocations: 115.3 MB / 0.971 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2433/0.8895, allocations: 137.5 MB / 1.105 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.8898, allocations: 73.67 kB / 1.105 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002749/0.8926, allocations: 0.8077 MB / 1.106 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8926, allocations: 0 / 1.106 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.405e-06/0.8926, allocations: 0 / 1.106 GB, free: 13.45 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005468/0.8932, allocations: 359.9 kB / 1.106 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.8933, allocations: 9.938 kB / 1.106 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.039e-05/0.8933, allocations: 35.75 kB / 1.106 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.8934, allocations: 7.906 kB / 1.106 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.8935, allocations: 171 kB / 1.107 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.8935, allocations: 4 kB / 1.107 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.8936, allocations: 3.828 kB / 1.107 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.8937, allocations: 41.7 kB / 1.107 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.8937, allocations: 1.719 kB / 1.107 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.8938, allocations: 7.984 kB / 1.107 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.8938, allocations: 3.938 kB / 1.107 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.987e-05/0.8939, allocations: 16 kB / 1.107 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006303/0.8945, allocations: 307.9 kB / 1.107 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.394e-05/0.8946, allocations: 35.77 kB / 1.107 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.611e-05/0.8947, allocations: 15.95 kB / 1.107 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.8947, allocations: 0.6875 kB / 1.107 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.8947, allocations: 39.19 kB / 1.107 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 2.054e-06/0.8948, allocations: 1.719 kB / 1.107 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002042/0.895, allocations: 49.78 kB / 1.107 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.895, allocations: 51.41 kB / 1.107 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.257e-05/0.8951, allocations: 112.3 kB / 1.107 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.8951, allocations: 25.7 kB / 1.107 GB, free: 12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.8952, allocations: 86.95 kB / 1.107 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.8952, allocations: 7.812 kB / 1.107 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.8953, allocations: 4 kB / 1.107 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.8954, allocations: 318.8 kB / 1.108 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.556e-05/0.8954, allocations: 11.98 kB / 1.108 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.396e-05/0.8955, allocations: 8 kB / 1.108 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.852e-05/0.8955, allocations: 15.94 kB / 1.108 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.8955, allocations: 0 / 1.108 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001381/0.8957, allocations: 53.69 kB / 1.108 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.8957, allocations: 4 kB / 1.108 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.8957, allocations: 0 / 1.108 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.8957, allocations: 0 / 1.108 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.8959, allocations: 19.98 kB / 1.108 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.8959, allocations: 0 / 1.108 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.8961, allocations: 19.98 kB / 1.108 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.8961, allocations: 0 / 1.108 GB, free: 11.45 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 7.531e-05/0.8962, allocations: 114 kB / 1.108 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.8962, allocations: 3.906 kB / 1.108 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/0.8964, allocations: 69.83 kB / 1.108 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.8964, allocations: 2.953 kB / 1.108 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.8964, allocations: 5.5 kB / 1.108 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.8965, allocations: 0 / 1.108 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.8967, allocations: 173.6 kB / 1.108 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.8967, allocations: 0 / 1.108 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.8968, allocations: 19.98 kB / 1.108 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.8969, allocations: 3.281 kB / 1.108 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.8969, allocations: 0 / 1.108 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.8969, allocations: 0 / 1.108 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.8969, allocations: 4 kB / 1.108 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.8971, allocations: 154.2 kB / 1.108 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.156e-05/0.8971, allocations: 85.02 kB / 1.108 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.8972, allocations: 6.047 kB / 1.108 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.8973, allocations: 19.98 kB / 1.109 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.8974, allocations: 4 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.8974, allocations: 4 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.023e-05/0.8975, allocations: 87.27 kB / 1.109 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.01e-07/0.8975, allocations: 0 / 1.109 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003247/0.8978, allocations: 11.94 kB / 1.109 GB, free: 10.6 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.0004707/0.8983, allocations: 0.6812 MB / 1.109 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.8984, allocations: 23.94 kB / 1.109 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.8984, allocations: 0 / 1.109 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.296e-05/0.8985, allocations: 12 kB / 1.109 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.8987, allocations: 11.98 kB / 1.109 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/0.8992, allocations: 100.9 kB / 1.109 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.8995, allocations: 0.6887 MB / 1.11 GB, free: 9 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.999e-05/0.8995, allocations: 4 kB / 1.11 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.7e-05/0.8996, allocations: 11.44 kB / 1.11 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of SimCode: time 4.61e-07/0.8996, allocations: 0 / 1.11 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01102/0.9106, allocations: 1.3 MB / 1.111 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/0.9109, allocations: 171.6 kB / 1.112 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.451/2.362, allocations: 0 / 1.112 GB, free: 7.66 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)