Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 196.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.1 MB / 222.4 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.725/1.725, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001527, allocations: 68.48 kB / 0.6716 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2657, allocations: 114.5 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.002202/0.2679, allocations: 0.6712 MB / 0.7841 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.269, allocations: 0.7893 MB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.06e-05/0.2691, allocations: 0 / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.653e-05/0.2692, allocations: 3.938 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.7e-05/0.2693, allocations: 4 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.428e-05/0.2693, allocations: 7.984 kB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.647e-05/0.2694, allocations: 27.86 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.2696, allocations: 8 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.623e-05/0.2696, allocations: 11.98 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.348e-05/0.2697, allocations: 7.938 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.2697, allocations: 4 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-06/0.2697, allocations: 0 / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.2698, allocations: 11.98 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.304e-05/0.2698, allocations: 7.938 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.418e-05/0.2699, allocations: 23.89 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2699, allocations: 0 / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2699, allocations: 0 / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.2699, allocations: 0 / 0.785 GB, free: 11.77 MB / 0.6075 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.0005167/0.2704, allocations: 351.6 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.2705, allocations: 8.031 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.584e-05/0.2705, allocations: 38.73 kB / 0.7854 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.514e-05/0.2706, allocations: 0.9375 kB / 0.7854 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.2707, allocations: 168.3 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.2707, allocations: 4.375 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.2708, allocations: 384 / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.2709, allocations: 50.23 kB / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.271, allocations: 7.938 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.271, allocations: 7.922 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.271, allocations: 0 / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.2712, allocations: 31.97 kB / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003317/0.2715, allocations: 252.9 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.2716, allocations: 42.5 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.676e-05/0.2717, allocations: 20.91 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.265e-06/0.2717, allocations: 0 / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.2718, allocations: 38.55 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.2718, allocations: 0 / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003418/0.2721, allocations: 81.59 kB / 0.7861 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.2722, allocations: 51.41 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.045e-05/0.2723, allocations: 105.8 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.2723, allocations: 25.7 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.2723, allocations: 84.14 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.2724, allocations: 7.844 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.2724, allocations: 17.7 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.2725, allocations: 319 kB / 0.7867 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.296e-05/0.2726, allocations: 11.98 kB / 0.7867 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.499e-05/0.2727, allocations: 19.98 kB / 0.7867 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.2729, allocations: 40.81 kB / 0.7867 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.2729, allocations: 3.938 kB / 0.7867 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001958/0.2731, allocations: 65.67 kB / 0.7868 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.2731, allocations: 8.781 kB / 0.7868 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2731, allocations: 3.984 kB / 0.7868 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.2731, allocations: 0 / 0.7868 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.132e-05/0.2732, allocations: 4 kB / 0.7868 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.2733, allocations: 0 / 0.7868 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.782e-05/0.2733, allocations: 11.89 kB / 0.7868 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.2733, allocations: 4 kB / 0.7868 GB, free: 9.684 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.954e-05/0.2734, allocations: 121.8 kB / 0.7869 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.2735, allocations: 0 / 0.7869 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.58e-05/0.2735, allocations: 7.125 kB / 0.787 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.2735, allocations: 0 / 0.787 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2735, allocations: 0 / 0.787 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.2735, allocations: 3.984 kB / 0.787 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.2737, allocations: 157.6 kB / 0.7871 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2737, allocations: 0 / 0.7871 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.355e-05/0.2738, allocations: 12.23 kB / 0.7871 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2738, allocations: 4 kB / 0.7871 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.2738, allocations: 8 kB / 0.7871 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2738, allocations: 3.938 kB / 0.7871 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2738, allocations: 0 / 0.7871 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.274, allocations: 163.4 kB / 0.7873 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/0.2741, allocations: 81.14 kB / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.2741, allocations: 4 kB / 0.7874 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.359e-05/0.2742, allocations: 7.984 kB / 0.7874 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.2742, allocations: 4 kB / 0.7874 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.2742, allocations: 0 / 0.7874 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.07e-05/0.2743, allocations: 79.28 kB / 0.7875 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.533e-06/0.2743, allocations: 0 / 0.7875 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002135/0.2745, allocations: 11.84 kB / 0.7875 GB, free: 8.93 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000606/0.2751, allocations: 0.7045 MB / 0.7882 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002136/0.2754, allocations: 35.97 kB / 0.7882 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.2754, allocations: 4.094 kB / 0.7882 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.345e-05/0.2755, allocations: 15.98 kB / 0.7882 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.2758, allocations: 11.98 kB / 0.7882 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004569/0.2762, allocations: 138.3 kB / 0.7884 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.2765, allocations: 0.6768 MB / 0.789 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.564e-05/0.2766, allocations: 4.062 kB / 0.789 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.2766, allocations: 11.44 kB / 0.789 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.2766, allocations: 0 / 0.789 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.2954, allocations: 1.264 MB / 0.7903 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.62/7.916, allocations: 7.984 kB / 0.7903 GB, free: 6.039 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)