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.Derivative.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.Derivative,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative",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.46/1.46, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001425/0.001425, allocations: 182.3 kB / 326.5 MB, free: 2.27 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.935/1.935, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008096/0.0008096, allocations: 93.78 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.0003189, allocations: 12.19 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2203, allocations: 106.3 MB / 0.9002 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1895/0.4098, allocations: 131.6 MB / 1.029 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.4101, allocations: 75.95 kB / 1.029 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004087/0.4142, allocations: 1.371 MB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.836e-06/0.4142, allocations: 0 / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.553e-05/0.4143, allocations: 3.984 kB / 1.03 GB, free: 10.62 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004801/0.4147, allocations: 383 kB / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.4148, allocations: 8.031 kB / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.917e-05/0.4149, allocations: 30.56 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.4149, allocations: 4 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.4151, allocations: 198.8 kB / 1.031 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.4152, allocations: 0 / 1.031 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.4152, allocations: 8 kB / 1.031 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.4154, allocations: 61.61 kB / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.4154, allocations: 0 / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.4154, allocations: 4 kB / 1.031 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-06/0.4154, allocations: 0 / 1.031 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.4156, allocations: 55.95 kB / 1.031 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005247/0.4161, allocations: 304.8 kB / 1.031 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.4163, allocations: 54.5 kB / 1.031 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.4163, allocations: 4.078 kB / 1.031 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.4164, allocations: 30.56 kB / 1.031 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 2.615e-06/0.4164, allocations: 4 kB / 1.031 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0003836/0.4168, allocations: 113.5 kB / 1.031 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.4168, allocations: 51.41 kB / 1.031 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.527e-05/0.4169, allocations: 116.9 kB / 1.031 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.4169, allocations: 25.7 kB / 1.032 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.417, allocations: 84.14 kB / 1.032 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.417, allocations: 15.8 kB / 1.032 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-06/0.417, allocations: 0 / 1.032 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.4172, allocations: 315.5 kB / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.671e-05/0.4173, allocations: 31.97 kB / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.171e-05/0.4174, allocations: 31.98 kB / 1.032 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.924e-05/0.4175, allocations: 27.92 kB / 1.032 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4175, allocations: 0 / 1.032 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002308/0.4177, allocations: 101.6 kB / 1.032 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.4177, allocations: 4 kB / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4178, allocations: 0 / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.4178, allocations: 384 / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.4179, allocations: 15.98 kB / 1.032 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4179, allocations: 3.938 kB / 1.032 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.263e-05/0.418, allocations: 23.94 kB / 1.032 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.418, allocations: 3.938 kB / 1.032 GB, free: 8.332 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 (5): * Single equations (assignments): 5 * 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.177e-05/0.4181, allocations: 109.8 kB / 1.032 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.4181, allocations: 192 / 1.032 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/0.4184, allocations: 105.5 kB / 1.032 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4184, allocations: 0 / 1.032 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.4184, allocations: 0 / 1.032 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4184, allocations: 0 / 1.032 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.4186, allocations: 181.4 kB / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4186, allocations: 0 / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-05/0.4187, allocations: 19.92 kB / 1.033 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4187, allocations: 0 / 1.033 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.4187, allocations: 8 kB / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4187, allocations: 0 / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.4187, allocations: 0 / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.4191, allocations: 219.4 kB / 1.033 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.4192, allocations: 85.05 kB / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.4192, allocations: 3.984 kB / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.322e-05/0.4193, allocations: 8.188 kB / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.4194, allocations: 3.984 kB / 1.033 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-06/0.4194, allocations: 4 kB / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.644e-05/0.4194, allocations: 91.34 kB / 1.033 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4194, allocations: 0 / 1.033 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002154/0.4196, allocations: 8 kB / 1.033 GB, free: 7.402 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * 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 (4): * Single equations (assignments): 4 * 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.0007336/0.4204, allocations: 0.7592 MB / 1.034 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002271/0.4206, allocations: 64.02 kB / 1.034 GB, free: 6.555 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.4206, allocations: 0 / 1.034 GB, free: 6.555 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.453e-05/0.4207, allocations: 35.86 kB / 1.034 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.421, allocations: 4 kB / 1.034 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.422, allocations: 0.5152 MB / 1.034 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.4224, allocations: 0.689 MB / 1.035 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.977e-05/0.4224, allocations: 256 / 1.035 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.4224, allocations: 15.44 kB / 1.035 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/0.4225, allocations: 3.938 kB / 1.035 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01342/0.4359, allocations: 1.348 MB / 1.036 GB, free: 4.035 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/0.4361, allocations: 196.1 kB / 1.036 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/2.017, allocations: 4 kB / 1.036 GB, free: 3.797 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1)