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.Modulo.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.Modulo,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.47/1.47, 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.001201/0.001201, allocations: 178.6 kB / 326.5 MB, free: 2.227 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.675/1.675, allocations: 205.4 MB / 0.5775 GB, free: 20.53 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.0008419/0.0008418, allocations: 99.91 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003455, allocations: 12.06 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2302, allocations: 106.3 MB / 0.9002 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1822/0.4124, allocations: 131.4 MB / 1.028 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.4128, allocations: 71.97 kB / 1.029 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004202/0.417, allocations: 1.437 MB / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.156e-06/0.417, allocations: 0 / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.417, allocations: 0 / 1.03 GB, free: 11.1 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.0005352/0.4176, allocations: 383.1 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/0.4176, allocations: 16.03 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.323e-05/0.4177, allocations: 30.56 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.4177, allocations: 0 / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.4179, allocations: 167 kB / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.4179, allocations: 0 / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.4179, allocations: 4 kB / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.4182, allocations: 81.64 kB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.4183, allocations: 7.938 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.4183, allocations: 0 / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.4183, allocations: 0 / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/0.4186, allocations: 91.86 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005819/0.4192, allocations: 304.8 kB / 1.031 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.4194, allocations: 62.55 kB / 1.031 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.4194, allocations: 8.078 kB / 1.031 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.4195, allocations: 30.56 kB / 1.031 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.4195, allocations: 3.938 kB / 1.031 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005814/0.4201, allocations: 157.6 kB / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.4201, allocations: 55.41 kB / 1.031 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.663e-05/0.4202, allocations: 105 kB / 1.031 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.4203, allocations: 25.7 kB / 1.031 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.031e-05/0.4204, allocations: 99.97 kB / 1.032 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.4204, allocations: 11.89 kB / 1.032 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.4204, allocations: 0 / 1.032 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.4205, allocations: 315.6 kB / 1.032 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.4207, allocations: 43.97 kB / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.4209, allocations: 43.95 kB / 1.032 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.421, allocations: 43.97 kB / 1.032 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.421, allocations: 3.938 kB / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003382/0.4214, allocations: 121.6 kB / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.4214, allocations: 6.5 kB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.4214, allocations: 3.938 kB / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.4214, allocations: 0 / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.4216, allocations: 23.98 kB / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.4216, allocations: 0 / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.318e-05/0.4217, allocations: 19.98 kB / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.4217, allocations: 0 / 1.032 GB, free: 8.66 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 9.609e-05/0.4218, allocations: 120 kB / 1.032 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.4218, allocations: 8.234 kB / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/0.4219, allocations: 11.91 kB / 1.032 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4219, allocations: 3.984 kB / 1.032 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.4219, allocations: 4 kB / 1.032 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4219, allocations: 0 / 1.032 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.4221, allocations: 169.6 kB / 1.032 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4221, allocations: 3.938 kB / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.4223, allocations: 27.91 kB / 1.032 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4223, allocations: 4 kB / 1.032 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.4223, allocations: 0 / 1.032 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4223, allocations: 0 / 1.032 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.4223, allocations: 0 / 1.032 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004414/0.4227, allocations: 215.4 kB / 1.033 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/0.4228, allocations: 89 kB / 1.033 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.4228, allocations: 0 / 1.033 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.423, allocations: 19.98 kB / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/0.423, allocations: 3.984 kB / 1.033 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.423, allocations: 4 kB / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.085e-05/0.4231, allocations: 83.28 kB / 1.033 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4231, allocations: 0 / 1.033 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000218/0.4233, allocations: 8 kB / 1.033 GB, free: 7.805 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.0008096/0.4241, allocations: 0.7553 MB / 1.034 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004022/0.4246, allocations: 87.92 kB / 1.034 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.4246, allocations: 4 kB / 1.034 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.4247, allocations: 51.89 kB / 1.034 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.425, allocations: 8 kB / 1.034 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000515/0.4255, allocations: 170.1 kB / 1.034 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.4259, allocations: 0.6809 MB / 1.035 GB, free: 5.957 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.756e-05/0.4259, allocations: 8 kB / 1.035 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.836e-05/0.426, allocations: 19.36 kB / 1.035 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of SimCode: time 2.915e-06/0.426, allocations: 0 / 1.035 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01475/0.4407, allocations: 1.322 MB / 1.036 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002483/0.441, allocations: 191.3 kB / 1.036 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/2.151, allocations: 0 / 1.036 GB, free: 4.523 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)