Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,fileNamePrefix="Buildings_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.998/1.998, allocations: 288.2 MB / 303.2 MB, free: 8.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 194.2 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.62/1.62, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008831/0.0008832, allocations: 100.3 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005323/0.0005328, allocations: 17.08 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.267, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.0008754/0.268, allocations: 385.5 kB / 0.9799 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008221/0.2688, allocations: 0.7832 MB / 0.9806 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.2688, allocations: 0 / 0.9806 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.2689, allocations: 3.938 kB / 0.9806 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.203e-05/0.2689, allocations: 4 kB / 0.9806 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.723e-05/0.269, allocations: 4 kB / 0.9806 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.699e-05/0.2691, allocations: 15.97 kB / 0.9807 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.2692, allocations: 4 kB / 0.9807 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.662e-05/0.2692, allocations: 4 kB / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.813e-05/0.2693, allocations: 15.92 kB / 0.9807 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.2693, allocations: 3.938 kB / 0.9807 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-06/0.2693, allocations: 4 kB / 0.9807 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.2693, allocations: 3.984 kB / 0.9807 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.2694, allocations: 29.7 kB / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.161e-05/0.2694, allocations: 15.95 kB / 0.9807 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2694, allocations: 3.938 kB / 0.9807 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.385e-06/0.2695, allocations: 0 / 0.9807 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.2695, allocations: 0 / 0.9807 GB, free: 26.3 MB / 0.6198 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.0004561/0.2699, allocations: 353.1 kB / 0.9811 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.27, allocations: 12.02 kB / 0.9811 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.233e-05/0.27, allocations: 30.56 kB / 0.9811 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.369e-05/0.2701, allocations: 0 / 0.9811 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.2702, allocations: 167 kB / 0.9813 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.2702, allocations: 0 / 0.9813 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.2702, allocations: 3.938 kB / 0.9813 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.2704, allocations: 57.67 kB / 0.9813 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2704, allocations: 0 / 0.9813 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.2704, allocations: 4 kB / 0.9813 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.2704, allocations: 0 / 0.9813 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.2706, allocations: 51.89 kB / 0.9814 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.2709, allocations: 252.8 kB / 0.9816 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.2711, allocations: 38.55 kB / 0.9817 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.2711, allocations: 12.05 kB / 0.9817 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.2711, allocations: 34.56 kB / 0.9817 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2711, allocations: 0 / 0.9817 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003353/0.2715, allocations: 97.67 kB / 0.9818 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.2715, allocations: 51.41 kB / 0.9819 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.759e-05/0.2716, allocations: 101.9 kB / 0.982 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.2716, allocations: 25.7 kB / 0.982 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.185e-05/0.2716, allocations: 88.12 kB / 0.9821 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.2717, allocations: 7.906 kB / 0.9821 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-06/0.2717, allocations: 0 / 0.9821 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.666e-05/0.2717, allocations: 322.8 kB / 0.9824 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.845e-05/0.2718, allocations: 15.98 kB / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.049e-05/0.2719, allocations: 23.98 kB / 0.9824 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.734e-05/0.272, allocations: 31.97 kB / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.272, allocations: 0 / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001698/0.2722, allocations: 73.61 kB / 0.9825 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.2722, allocations: 4 kB / 0.9825 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.2722, allocations: 4.031 kB / 0.9825 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2722, allocations: 0 / 0.9825 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.859e-05/0.2723, allocations: 11.98 kB / 0.9825 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.2723, allocations: 4.25 kB / 0.9825 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.61e-05/0.2724, allocations: 11.98 kB / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.2724, allocations: 4 kB / 0.9826 GB, free: 24.22 MB / 0.6198 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 6.253e-05/0.2725, allocations: 121.7 kB / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.933e-05/0.2725, allocations: 0 / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.912e-05/0.2725, allocations: 3.125 kB / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2725, allocations: 0 / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2725, allocations: 4 kB / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2725, allocations: 0 / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.2727, allocations: 169.5 kB / 0.9828 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2727, allocations: 0 / 0.9828 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.326e-05/0.2727, allocations: 11.98 kB / 0.9828 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2727, allocations: 0 / 0.9828 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.2728, allocations: 4 kB / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2728, allocations: 3.938 kB / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2728, allocations: 0 / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.273, allocations: 179.4 kB / 0.983 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.273, allocations: 81.11 kB / 0.9831 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.273, allocations: 0 / 0.9831 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-05/0.2731, allocations: 11.98 kB / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.2732, allocations: 0 / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.2732, allocations: 0 / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.351e-05/0.2732, allocations: 79.28 kB / 0.9832 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2732, allocations: 0 / 0.9832 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001948/0.2734, allocations: 12.03 kB / 0.9832 GB, free: 23.46 MB / 0.6198 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.0004121/0.2738, allocations: 0.7163 MB / 0.9839 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001947/0.274, allocations: 43.97 kB / 0.9839 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.274, allocations: 0 / 0.9839 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.718e-05/0.2741, allocations: 24.05 kB / 0.984 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.2743, allocations: 11.94 kB / 0.984 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003799/0.2747, allocations: 138.3 kB / 0.9841 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.2749, allocations: 0.6848 MB / 0.9848 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.977e-05/0.2749, allocations: 8.062 kB / 0.9848 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.275, allocations: 7.438 kB / 0.9848 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.275, allocations: 0 / 0.9848 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01236/0.2873, allocations: 1.022 MB / 0.9858 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002341/0.2876, allocations: 194.4 kB / 0.986 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/2.047, allocations: 0 / 0.986 GB, free: 20.63 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)