Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.Average,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",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.001155/0.001155, allocations: 108 kB / 15.6 MB, free: 132 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.001185/0.001185, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.163/1.163, allocations: 205.1 MB / 222.4 MB, free: 4.551 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.513/1.513, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001328/0.001328, allocations: 74.11 kB / 0.6716 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1622, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.001682/0.164, allocations: 0.6985 MB / 0.7842 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006661/0.1646, allocations: 0.801 MB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.069e-05/0.1647, allocations: 0 / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.1647, allocations: 3.938 kB / 0.785 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.34e-05/0.1648, allocations: 7.922 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.776e-05/0.1648, allocations: 15.92 kB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.411e-05/0.1649, allocations: 47.86 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.469e-05/0.165, allocations: 11.98 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.207e-05/0.165, allocations: 19.92 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.692e-05/0.1651, allocations: 23.91 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.1651, allocations: 4 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-06/0.1651, allocations: 4 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.1651, allocations: 4 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.1652, allocations: 19.86 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.302e-05/0.1652, allocations: 35.88 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.1652, allocations: 4 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1653, allocations: 0 / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.1653, allocations: 0 / 0.7852 GB, free: 11.66 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004223/0.1657, allocations: 367.6 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.1657, allocations: 8.031 kB / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.061e-05/0.1658, allocations: 38.69 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.776e-05/0.1658, allocations: 0.9375 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.366e-05/0.1659, allocations: 172.2 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.242e-06/0.1659, allocations: 4.375 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.1659, allocations: 8.375 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.1661, allocations: 70.14 kB / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.1661, allocations: 3.938 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1661, allocations: 4 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1662, allocations: 0 / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000258/0.1664, allocations: 67.92 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/0.1667, allocations: 264.9 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.1669, allocations: 58.47 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.167, allocations: 40.92 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.946e-06/0.167, allocations: 3.984 kB / 0.7862 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.1671, allocations: 34.56 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1671, allocations: 0 / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004747/0.1675, allocations: 129.5 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.1676, allocations: 55.34 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.457e-05/0.1677, allocations: 114.1 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.1677, allocations: 29.64 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.334e-05/0.1677, allocations: 88.12 kB / 0.7866 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.1677, allocations: 7.906 kB / 0.7867 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.1678, allocations: 9.719 kB / 0.7867 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.949e-05/0.1678, allocations: 322.8 kB / 0.787 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.168, allocations: 31.95 kB / 0.787 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.1681, allocations: 31.97 kB / 0.787 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.1684, allocations: 76.98 kB / 0.7871 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1684, allocations: 0 / 0.7871 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002924/0.1687, allocations: 97.53 kB / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.1687, allocations: 7.938 kB / 0.7872 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1687, allocations: 4 kB / 0.7872 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1687, allocations: 0 / 0.7872 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1688, allocations: 19.97 kB / 0.7872 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1688, allocations: 4.062 kB / 0.7872 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.054e-05/0.1689, allocations: 11.98 kB / 0.7872 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.1689, allocations: 0 / 0.7872 GB, free: 9.277 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 (3): * Single equations (assignments): 3 * 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 5.593e-05/0.169, allocations: 117.8 kB / 0.7874 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.169, allocations: 0 / 0.7874 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.863e-05/0.169, allocations: 7.906 kB / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.169, allocations: 0 / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.169, allocations: 7.984 kB / 0.7874 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.1691, allocations: 0 / 0.7874 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.1692, allocations: 177.5 kB / 0.7875 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1692, allocations: 0 / 0.7875 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.757e-05/0.1693, allocations: 15.98 kB / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.1693, allocations: 0 / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.1693, allocations: 0 / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1693, allocations: 0 / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1693, allocations: 0 / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.1696, allocations: 207.2 kB / 0.7878 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.064e-05/0.1697, allocations: 81.11 kB / 0.7878 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.1697, allocations: 0 / 0.7878 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.591e-05/0.1698, allocations: 7.984 kB / 0.7878 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.1698, allocations: 11.98 kB / 0.7879 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.1698, allocations: 4 kB / 0.7879 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.1699, allocations: 91.22 kB / 0.7879 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1699, allocations: 0 / 0.7879 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001988/0.1701, allocations: 4 kB / 0.7879 GB, free: 8.461 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 (3): * Single equations (assignments): 3 * 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.0005331/0.1706, allocations: 0.7357 MB / 0.7887 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002964/0.1709, allocations: 71.92 kB / 0.7887 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1709, allocations: 0 / 0.7887 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.1711, allocations: 39.95 kB / 0.7888 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.1713, allocations: 12.94 kB / 0.7888 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003488/0.1717, allocations: 158.2 kB / 0.7889 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/0.1719, allocations: 0.6768 MB / 0.7896 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.67e-05/0.1719, allocations: 8 kB / 0.7896 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.172, allocations: 19.42 kB / 0.7896 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.172, allocations: 0 / 0.7896 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9789/1.151, allocations: 1.596 MB / 0.7912 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.402/10.55, allocations: 17.33 kB / 0.7912 GB, free: 5.125 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Average.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)