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.Cos.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.Cos,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",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.604/1.604, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001209/0.001209, allocations: 173.8 kB / 326.5 MB, free: 2.238 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.976/1.976, allocations: 205.4 MB / 0.5775 GB, free: 20.58 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.000832/0.000832, allocations: 92.05 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003617, allocations: 16.38 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2324, allocations: 106.3 MB / 0.9002 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1732/0.4056, allocations: 131.4 MB / 1.029 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.4059, allocations: 71.95 kB / 1.029 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001865/0.4078, allocations: 0.6687 MB / 1.029 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.747e-06/0.4078, allocations: 3.984 kB / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.4079, allocations: 0 / 1.029 GB, free: 11.81 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003929/0.4083, allocations: 351.2 kB / 1.03 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.4083, allocations: 8.031 kB / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.931e-05/0.4084, allocations: 30.56 kB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.418e-05/0.4084, allocations: 4 kB / 1.03 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.4085, allocations: 167 kB / 1.03 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.4086, allocations: 0 / 1.03 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.725e-05/0.4086, allocations: 11.98 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.4088, allocations: 57.61 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.4088, allocations: 0 / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.4088, allocations: 4 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.4088, allocations: 0 / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.409, allocations: 47.95 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004234/0.4094, allocations: 264.8 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.4096, allocations: 50.48 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.4096, allocations: 0 / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.4096, allocations: 34.62 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.4097, allocations: 0 / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003681/0.41, allocations: 93.64 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.4101, allocations: 55.41 kB / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.203e-05/0.4102, allocations: 89 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.4102, allocations: 25.7 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.4103, allocations: 88.14 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.4103, allocations: 15.95 kB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.4103, allocations: 0 / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4104, allocations: 314.8 kB / 1.031 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.369e-05/0.4105, allocations: 23.98 kB / 1.031 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.972e-05/0.4106, allocations: 15.98 kB / 1.031 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.567e-05/0.4107, allocations: 31.98 kB / 1.031 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4107, allocations: 0 / 1.031 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002057/0.4109, allocations: 77.66 kB / 1.031 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.411, allocations: 4 kB / 1.031 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.411, allocations: 0 / 1.031 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.411, allocations: 0 / 1.031 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.4111, allocations: 15.98 kB / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.4111, allocations: 0 / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.083e-05/0.4112, allocations: 11.92 kB / 1.031 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.4112, allocations: 0 / 1.031 GB, free: 9.738 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 (2): * Single equations (assignments): 2 * 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.821e-05/0.4113, allocations: 121.8 kB / 1.031 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.4113, allocations: 4 kB / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/0.4115, allocations: 80.69 kB / 1.031 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4116, allocations: 4.031 kB / 1.031 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4116, allocations: 0 / 1.031 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.4116, allocations: 0 / 1.031 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.4117, allocations: 165.6 kB / 1.031 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4117, allocations: 0 / 1.031 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.242e-05/0.4118, allocations: 15.98 kB / 1.031 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4118, allocations: 0 / 1.031 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.4118, allocations: 0 / 1.031 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4118, allocations: 0 / 1.031 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.4119, allocations: 0 / 1.031 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.4121, allocations: 179.4 kB / 1.032 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.4122, allocations: 81.11 kB / 1.032 GB, free: 9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.4122, allocations: 0 / 1.032 GB, free: 9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.654e-05/0.4123, allocations: 12.02 kB / 1.032 GB, free: 8.988 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.4123, allocations: 4 kB / 1.032 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/0.4123, allocations: 0 / 1.032 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.225e-05/0.4124, allocations: 87.45 kB / 1.032 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4124, allocations: 0 / 1.032 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002055/0.4126, allocations: 4 kB / 1.032 GB, free: 8.895 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 (2): * Single equations (assignments): 2 * 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.0005827/0.4132, allocations: 0.7132 MB / 1.032 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002019/0.4134, allocations: 44 kB / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.4134, allocations: 0 / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.259e-05/0.4135, allocations: 23.98 kB / 1.033 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.4137, allocations: 12.11 kB / 1.033 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/0.4141, allocations: 142.2 kB / 1.033 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.4144, allocations: 0.6809 MB / 1.033 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.65e-05/0.4145, allocations: 7.938 kB / 1.033 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.4145, allocations: 7.438 kB / 1.033 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of SimCode: time 2.965e-06/0.4145, allocations: 0 / 1.033 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01132/0.4258, allocations: 1.002 MB / 1.034 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/0.4261, allocations: 194.1 kB / 1.035 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/1.973, allocations: 0 / 1.035 GB, free: 6.078 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)