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.485/1.485, allocations: 249.3 MB / 261.8 MB, free: 5.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 172.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0009071/0.0009072, allocations: 89.34 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.587e-05/5.589e-05, allocations: 8 kB / 0.7881 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2804, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7847/1.065, allocations: 131.4 MB / 1.02 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/1.065, allocations: 77.94 kB / 1.02 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001862/1.067, allocations: 0.6768 MB / 1.021 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.393e-06/1.067, allocations: 0 / 1.021 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.835e-06/1.067, allocations: 0 / 1.021 GB, free: 2.703 MB / 0.6355 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.0003767/1.068, allocations: 327.7 kB / 1.021 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/1.068, allocations: 15.97 kB / 1.021 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.532e-05/1.068, allocations: 38.11 kB / 1.021 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.222e-05/1.068, allocations: 0 / 1.021 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/1.068, allocations: 171 kB / 1.021 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/1.068, allocations: 0 / 1.021 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/1.068, allocations: 0 / 1.021 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/1.068, allocations: 36.88 kB / 1.021 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/1.068, allocations: 0 / 1.021 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/1.068, allocations: 7.984 kB / 1.021 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/1.068, allocations: 0 / 1.021 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.707e-05/1.068, allocations: 11.25 kB / 1.022 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/1.069, allocations: 270.9 kB / 1.022 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.857e-05/1.069, allocations: 25.83 kB / 1.022 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.862e-05/1.069, allocations: 12.95 kB / 1.022 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/1.069, allocations: 0 / 1.022 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/1.069, allocations: 38.19 kB / 1.022 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.414e-06/1.069, allocations: 2.625 kB / 1.022 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001526/1.069, allocations: 45.11 kB / 1.022 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/1.069, allocations: 55.41 kB / 1.022 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.664e-05/1.069, allocations: 89 kB / 1.022 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/1.069, allocations: 29.39 kB / 1.022 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/1.069, allocations: 84.12 kB / 1.022 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/1.069, allocations: 3.906 kB / 1.022 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/1.069, allocations: 0 / 1.022 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001167/1.069, allocations: 326 kB / 1.022 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.478e-05/1.069, allocations: 0 / 1.022 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.24e-05/1.069, allocations: 7.25 kB / 1.022 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.067e-05/1.069, allocations: 4 kB / 1.022 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.069, allocations: 0 / 1.022 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.204e-05/1.07, allocations: 48.94 kB / 1.022 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/1.07, allocations: 4 kB / 1.023 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/1.07, allocations: 0 / 1.023 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/1.07, allocations: 4.094 kB / 1.023 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/1.07, allocations: 11.98 kB / 1.023 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/1.07, allocations: 0 / 1.023 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.157e-05/1.07, allocations: 8 kB / 1.023 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/1.07, allocations: 0 / 1.023 GB, free: 0.8867 MB / 0.6355 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 (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 6.709e-05/1.07, allocations: 115.3 kB / 1.023 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/1.07, allocations: 3.984 kB / 1.023 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/1.07, allocations: 52.09 kB / 1.023 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/1.07, allocations: 7.922 kB / 1.023 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/1.07, allocations: 0 / 1.023 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.07, allocations: 7.938 kB / 1.023 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/1.07, allocations: 166.8 kB / 1.023 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.07, allocations: 0 / 1.023 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.824e-05/1.07, allocations: 11.98 kB / 1.023 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.07, allocations: 0 / 1.023 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/1.07, allocations: 4.031 kB / 1.023 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.07, allocations: 0 / 1.023 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/1.07, allocations: 0 / 1.023 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/1.07, allocations: 143.2 kB / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.583e-05/1.07, allocations: 77.11 kB / 1.023 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/1.071, allocations: 4 kB / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.425e-05/1.071, allocations: 11.42 kB / 1.023 GB, free: 228 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/1.071, allocations: 7.969 kB / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/1.071, allocations: 4 kB / 1.023 GB, free: 216 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.964e-05/1.071, allocations: 75.47 kB / 1.023 GB, free: 140 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/1.071, allocations: 4 kB / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001887/1.071, allocations: 0 / 1.023 GB, free: 136 kB / 0.6355 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 (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.0004566/1.071, allocations: 0.6763 MB / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.958e-05/1.071, allocations: 11.75 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/1.071, allocations: 3.938 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.659e-05/1.072, allocations: 11.44 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/1.072, allocations: 3.984 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/1.072, allocations: 90.89 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/1.072, allocations: 0.6811 MB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.578e-05/1.072, allocations: 3.938 kB / 1.025 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/1.072, allocations: 14.88 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of SimCode: time 5.51e-07/1.072, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01171/1.084, allocations: 1.019 MB / 1.026 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/1.084, allocations: 164.4 kB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.457/2.541, allocations: 0 / 1.026 GB, free: 13.45 MB / 0.6511 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)