Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 1.479/1.479, allocations: 287.4 MB / 302.5 MB, free: 8.293 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.000972/0.000972, allocations: 172.5 kB / 371.1 MB, free: 10.82 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.265/1.265, allocations: 205.4 MB / 0.6298 GB, free: 10.53 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.0007428/0.0007428, allocations: 103.8 kB / 0.7431 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003354, allocations: 13.7 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1519, allocations: 115.3 MB / 0.9788 GB, free: 28.06 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.0006354/0.1526, allocations: 391 kB / 0.9791 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005852/0.1532, allocations: 0.7854 MB / 0.9799 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.495e-05/0.1533, allocations: 4 kB / 0.9799 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.061e-05/0.1533, allocations: 0 / 0.9799 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.159e-05/0.1533, allocations: 3.938 kB / 0.9799 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.945e-05/0.1534, allocations: 4 kB / 0.9799 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.681e-05/0.1534, allocations: 19.92 kB / 0.9799 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.145e-05/0.1535, allocations: 12 kB / 0.9799 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.22e-05/0.1536, allocations: 7.984 kB / 0.9799 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.26e-05/0.1536, allocations: 7.922 kB / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.1536, allocations: 4 kB / 0.98 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.882e-06/0.1536, allocations: 0 / 0.98 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.418e-06/0.1536, allocations: 11.92 kB / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.332e-05/0.1537, allocations: 25.7 kB / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 3.733e-05/0.1537, allocations: 11.97 kB / 0.98 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1537, allocations: 0 / 0.98 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1537, allocations: 0 / 0.98 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.1537, allocations: 0 / 0.98 GB, free: 26.76 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.000285/0.154, allocations: 351.7 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.1541, allocations: 8.031 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.174e-05/0.1541, allocations: 34.69 kB / 0.9804 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.746e-05/0.1541, allocations: 4.938 kB / 0.9804 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.997e-05/0.1542, allocations: 168.3 kB / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.1542, allocations: 4.375 kB / 0.9806 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-06/0.1542, allocations: 8.375 kB / 0.9806 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.1543, allocations: 50.25 kB / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.1543, allocations: 3.938 kB / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.1544, allocations: 0 / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1544, allocations: 3.984 kB / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.1545, allocations: 43.97 kB / 0.9807 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002109/0.1547, allocations: 244.9 kB / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.1548, allocations: 54.53 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.452e-05/0.1549, allocations: 24.91 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.347e-06/0.1549, allocations: 3.938 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.3e-05/0.155, allocations: 34.56 kB / 0.981 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.155, allocations: 0 / 0.981 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002757/0.1552, allocations: 101.6 kB / 0.9811 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.544e-05/0.1553, allocations: 51.41 kB / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.208e-05/0.1553, allocations: 105.8 kB / 0.9813 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.541e-06/0.1553, allocations: 29.83 kB / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.919e-05/0.1554, allocations: 80.14 kB / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.148e-05/0.1554, allocations: 7.906 kB / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-06/0.1554, allocations: 0 / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.439e-05/0.1554, allocations: 314.8 kB / 0.9817 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-05/0.1555, allocations: 19.97 kB / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.074e-05/0.1556, allocations: 27.98 kB / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.1557, allocations: 44.83 kB / 0.9818 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1557, allocations: 11.94 kB / 0.9818 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001534/0.1559, allocations: 77.59 kB / 0.9818 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.1559, allocations: 10.5 kB / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1559, allocations: 0 / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.1559, allocations: 0 / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.164e-05/0.156, allocations: 16.27 kB / 0.9819 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.156, allocations: 0 / 0.9819 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.015e-05/0.156, allocations: 12 kB / 0.9819 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.156, allocations: 0 / 0.9819 GB, free: 24.62 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 3.964e-05/0.1561, allocations: 127 kB / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.1561, allocations: 7.906 kB / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.46e-05/0.1561, allocations: 3.125 kB / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1561, allocations: 4 kB / 0.982 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1561, allocations: 0 / 0.982 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1561, allocations: 0 / 0.982 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.231e-05/0.1562, allocations: 161.6 kB / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1562, allocations: 0 / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.976e-05/0.1563, allocations: 8 kB / 0.9822 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1563, allocations: 4 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.1563, allocations: 4 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1563, allocations: 0 / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1563, allocations: 3.938 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.1565, allocations: 171.5 kB / 0.9823 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.41e-05/0.1565, allocations: 81.11 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.1565, allocations: 8.016 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.674e-05/0.1566, allocations: 11.98 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.1566, allocations: 7.984 kB / 0.9824 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-06/0.1567, allocations: 0 / 0.9824 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.725e-05/0.1567, allocations: 83.22 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1567, allocations: 0 / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001717/0.1569, allocations: 4 kB / 0.9825 GB, free: 23.85 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.0003135/0.1572, allocations: 0.7123 MB / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001619/0.1574, allocations: 51.98 kB / 0.9833 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1574, allocations: 0 / 0.9833 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.119e-05/0.1574, allocations: 24.05 kB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.1576, allocations: 7.938 kB / 0.9833 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002888/0.1579, allocations: 148.5 kB / 0.9835 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.738e-05/0.158, allocations: 0.677 MB / 0.9841 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.117e-05/0.1581, allocations: 4 kB / 0.9841 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.1581, allocations: 7.438 kB / 0.9841 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.1581, allocations: 4.062 kB / 0.9841 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3857/0.5438, allocations: 1.007 MB / 0.9851 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/0.544, allocations: 195.2 kB / 0.9853 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/2.55, allocations: 0 / 0.9853 GB, free: 21.01 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)