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.000772/0.0007722, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009001/0.0009002, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.286/1.286, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.543/1.543, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005326/0.0005327, allocations: 12.84 kB / 0.6738 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.197, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.0006959/0.1977, allocations: 394.8 kB / 0.7878 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007588/0.1985, allocations: 0.7854 MB / 0.7886 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.586e-05/0.1986, allocations: 0 / 0.7886 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.22e-05/0.1986, allocations: 3.938 kB / 0.7886 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.021e-05/0.1986, allocations: 3.938 kB / 0.7886 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.379e-05/0.1987, allocations: 4 kB / 0.7886 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.279e-05/0.1988, allocations: 23.91 kB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.62e-05/0.1988, allocations: 8 kB / 0.7886 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.673e-05/0.1989, allocations: 11.98 kB / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.687e-05/0.1989, allocations: 7.938 kB / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.1989, allocations: 0 / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.471e-06/0.1989, allocations: 0 / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.199, allocations: 7.984 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.199, allocations: 29.7 kB / 0.7887 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 3.981e-05/0.199, allocations: 11.97 kB / 0.7887 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.199, allocations: 4 kB / 0.7887 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.303e-06/0.199, allocations: 0 / 0.7887 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.1991, allocations: 0 / 0.7887 GB, free: 10.52 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.0003324/0.1994, allocations: 347.5 kB / 0.789 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1994, allocations: 8.031 kB / 0.789 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.322e-05/0.1995, allocations: 34.56 kB / 0.7891 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.715e-05/0.1995, allocations: 0 / 0.7891 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.918e-05/0.1996, allocations: 163 kB / 0.7892 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1996, allocations: 11.98 kB / 0.7892 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-06/0.1996, allocations: 0 / 0.7892 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.1998, allocations: 53.69 kB / 0.7893 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.1998, allocations: 0 / 0.7893 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.091e-06/0.1998, allocations: 0 / 0.7893 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-06/0.1998, allocations: 0 / 0.7893 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.2, allocations: 47.95 kB / 0.7893 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002621/0.2002, allocations: 260.7 kB / 0.7896 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.2003, allocations: 42.59 kB / 0.7896 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.397e-05/0.2004, allocations: 32.91 kB / 0.7896 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.834e-06/0.2004, allocations: 0 / 0.7896 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.2005, allocations: 30.56 kB / 0.7897 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.2005, allocations: 0 / 0.7897 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002903/0.2008, allocations: 105.5 kB / 0.7898 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.2008, allocations: 55.41 kB / 0.7898 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.284e-05/0.2009, allocations: 109.8 kB / 0.7899 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.2009, allocations: 25.7 kB / 0.79 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.069e-05/0.2009, allocations: 88.27 kB / 0.79 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.2009, allocations: 7.891 kB / 0.79 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.201, allocations: 0 / 0.79 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.825e-05/0.201, allocations: 318.8 kB / 0.7903 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.161e-05/0.2011, allocations: 23.97 kB / 0.7904 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.163e-05/0.2012, allocations: 23.98 kB / 0.7904 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.478e-05/0.2013, allocations: 19.98 kB / 0.7904 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2013, allocations: 0 / 0.7904 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001639/0.2014, allocations: 85.66 kB / 0.7905 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.2014, allocations: 4 kB / 0.7905 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.2015, allocations: 0 / 0.7905 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.2015, allocations: 4 kB / 0.7905 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.566e-05/0.2015, allocations: 11.98 kB / 0.7905 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.2016, allocations: 0 / 0.7905 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.247e-05/0.2016, allocations: 8.031 kB / 0.7905 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.2016, allocations: 0 / 0.7905 GB, free: 8.414 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.496e-05/0.2017, allocations: 117.7 kB / 0.7906 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.2017, allocations: 0 / 0.7906 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.5e-05/0.2017, allocations: 11.11 kB / 0.7906 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2017, allocations: 4 kB / 0.7906 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.2018, allocations: 0 / 0.7906 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2018, allocations: 0 / 0.7906 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.2019, allocations: 161.5 kB / 0.7908 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2019, allocations: 0 / 0.7908 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.589e-05/0.202, allocations: 15.98 kB / 0.7908 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.202, allocations: 3.984 kB / 0.7908 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.202, allocations: 0 / 0.7908 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.202, allocations: 4 kB / 0.7908 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.202, allocations: 0 / 0.7908 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.2022, allocations: 179.4 kB / 0.791 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.637e-05/0.2022, allocations: 77.11 kB / 0.7911 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.2023, allocations: 4 kB / 0.7911 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.2023, allocations: 7.984 kB / 0.7911 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.2024, allocations: 0 / 0.7911 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.2024, allocations: 11.97 kB / 0.7911 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.611e-05/0.2024, allocations: 91.52 kB / 0.7912 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2024, allocations: 0 / 0.7912 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001945/0.2026, allocations: 0 / 0.7912 GB, free: 7.641 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 (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.0004251/0.2031, allocations: 0.7162 MB / 0.7919 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001692/0.2032, allocations: 44 kB / 0.7919 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2032, allocations: 0 / 0.7919 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.401e-05/0.2033, allocations: 27.97 kB / 0.7919 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.2036, allocations: 4 kB / 0.792 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.2039, allocations: 142.4 kB / 0.7921 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/0.2041, allocations: 0.6809 MB / 0.7928 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.167e-05/0.2041, allocations: 4 kB / 0.7928 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.2041, allocations: 7.438 kB / 0.7928 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2042, allocations: 0 / 0.7928 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009722/0.2139, allocations: 1.023 MB / 0.7938 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/0.2141, allocations: 196 kB / 0.794 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.427/1.641, allocations: 4 kB / 0.794 GB, free: 4.785 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain_fmu --startTime=0 --stopTime=1 --timeout=50 --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) Environment - environmentSimulation: