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.Tan.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.Tan,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",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.481/1.481, 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.001176/0.001176, allocations: 185.1 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.948/1.948, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008734/0.0008733, allocations: 90.36 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004262/0.0004263, allocations: 11.72 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1943, allocations: 106.4 MB / 0.9002 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1608/0.3551, allocations: 131.4 MB / 1.029 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.3554, allocations: 71.94 kB / 1.029 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001736/0.3571, allocations: 0.6726 MB / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3572, allocations: 4 kB / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.3572, allocations: 4 kB / 1.029 GB, free: 11.43 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.0003898/0.3576, allocations: 341 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.3576, allocations: 8.031 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.301e-05/0.3577, allocations: 30.56 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.527e-05/0.3577, allocations: 11.98 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.3578, allocations: 167 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.3578, allocations: 4 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.3578, allocations: 4 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.358, allocations: 57.61 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.358, allocations: 0 / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.3581, allocations: 0 / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3581, allocations: 3.984 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.3582, allocations: 43.97 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.3586, allocations: 252.8 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.3587, allocations: 46.5 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.3588, allocations: 0 / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.3588, allocations: 34.62 kB / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.3588, allocations: 0 / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003559/0.3592, allocations: 97.64 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.3592, allocations: 51.41 kB / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.005e-05/0.3593, allocations: 92.98 kB / 1.03 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.3593, allocations: 25.7 kB / 1.03 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.965e-05/0.3594, allocations: 88.27 kB / 1.031 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.3594, allocations: 7.906 kB / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.3594, allocations: 0 / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3595, allocations: 314.8 kB / 1.031 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.226e-05/0.3596, allocations: 31.91 kB / 1.031 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.559e-05/0.3597, allocations: 23.92 kB / 1.031 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.718e-05/0.3598, allocations: 23.98 kB / 1.031 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3598, allocations: 0 / 1.031 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000204/0.36, allocations: 77.72 kB / 1.031 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.3601, allocations: 4 kB / 1.031 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3601, allocations: 0 / 1.031 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3601, allocations: 4 kB / 1.031 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.545e-05/0.3602, allocations: 11.98 kB / 1.031 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3602, allocations: 0 / 1.031 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.37e-05/0.3603, allocations: 4 kB / 1.031 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.3603, allocations: 7.969 kB / 1.031 GB, free: 9.383 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 8.778e-05/0.3604, allocations: 121.8 kB / 1.031 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.3604, allocations: 0 / 1.031 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/0.3607, allocations: 88.62 kB / 1.031 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3607, allocations: 0 / 1.031 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3607, allocations: 0 / 1.031 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3607, allocations: 0 / 1.031 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.3608, allocations: 157.6 kB / 1.031 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3609, allocations: 4 kB / 1.031 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.544e-05/0.3609, allocations: 11.98 kB / 1.031 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3609, allocations: 0 / 1.031 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.3609, allocations: 0 / 1.031 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.361, allocations: 0 / 1.031 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.361, allocations: 4.031 kB / 1.031 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.3612, allocations: 175.4 kB / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.3613, allocations: 81.11 kB / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.3613, allocations: 12.02 kB / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.832e-05/0.3614, allocations: 4 kB / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.3614, allocations: 8 kB / 1.032 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.3614, allocations: 3.984 kB / 1.032 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.724e-05/0.3615, allocations: 79.28 kB / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3615, allocations: 0 / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000198/0.3617, allocations: 4 kB / 1.032 GB, free: 8.543 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.0005765/0.3623, allocations: 0.7091 MB / 1.032 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002029/0.3625, allocations: 47.98 kB / 1.033 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3625, allocations: 4 kB / 1.033 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.965e-05/0.3626, allocations: 28.05 kB / 1.033 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.3628, allocations: 3.938 kB / 1.033 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003651/0.3632, allocations: 142.2 kB / 1.033 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.3634, allocations: 0.677 MB / 1.033 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.315e-05/0.3635, allocations: 4 kB / 1.033 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.3635, allocations: 7.438 kB / 1.033 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of SimCode: time 2.405e-06/0.3635, allocations: 4.062 kB / 1.033 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009688/0.3732, allocations: 0.995 MB / 1.034 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/0.3734, allocations: 190.2 kB / 1.035 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.386/1.76, allocations: 0 / 1.035 GB, free: 5.738 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1)