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.001093/0.001093, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00109/0.00109, allocations: 191.7 kB / 16.25 MB, free: 6.625 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.125/1.125, allocations: 205.1 MB / 222.1 MB, free: 4.68 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.477/1.477, allocations: 292.3 MB / 0.5486 GB, free: 13.6 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.001259/0.001259, allocations: 66.64 kB / 0.6711 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.165, allocations: 114.6 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.001859/0.1669, allocations: 0.7789 MB / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007976/0.1677, allocations: 0.7971 MB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.931e-05/0.1678, allocations: 0 / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.926e-05/0.1678, allocations: 3.938 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.264e-05/0.1679, allocations: 3.938 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.066e-05/0.1679, allocations: 7.984 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.714e-05/0.168, allocations: 51.86 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.058e-05/0.1681, allocations: 11.98 kB / 0.7846 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.986e-05/0.1682, allocations: 23.92 kB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.605e-05/0.1682, allocations: 15.92 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.1682, allocations: 4 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.315e-06/0.1682, allocations: 4 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.1683, allocations: 7.984 kB / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.953e-05/0.1683, allocations: 23.86 kB / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.9e-05/0.1684, allocations: 39.88 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1684, allocations: 3.984 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1684, allocations: 0 / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.1684, allocations: 0 / 0.7847 GB, free: 12.01 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.0004648/0.1689, allocations: 359.6 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.1689, allocations: 8.031 kB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.074e-05/0.1689, allocations: 38.75 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.019e-05/0.169, allocations: 0.9375 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.1691, allocations: 184.2 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-06/0.1691, allocations: 384 / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.1691, allocations: 4.375 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.1693, allocations: 66.22 kB / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1694, allocations: 3.938 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-06/0.1694, allocations: 0 / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1694, allocations: 0 / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002545/0.1696, allocations: 71.86 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.17, allocations: 272.8 kB / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.1701, allocations: 50.55 kB / 0.7857 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.1703, allocations: 44.91 kB / 0.7858 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.1703, allocations: 0 / 0.7858 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.1703, allocations: 30.56 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1703, allocations: 0 / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004508/0.1708, allocations: 137.4 kB / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.1708, allocations: 51.41 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.649e-05/0.1709, allocations: 113.8 kB / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.1709, allocations: 25.7 kB / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.381e-05/0.171, allocations: 88.12 kB / 0.7862 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.171, allocations: 7.906 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.171, allocations: 13.72 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.018e-05/0.1711, allocations: 322.8 kB / 0.7865 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.1712, allocations: 27.97 kB / 0.7866 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.1714, allocations: 35.95 kB / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.1716, allocations: 69.02 kB / 0.7867 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1716, allocations: 0 / 0.7867 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002718/0.1719, allocations: 109.4 kB / 0.7868 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.1719, allocations: 4 kB / 0.7868 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.1719, allocations: 0 / 0.7868 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1719, allocations: 8 kB / 0.7868 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.1721, allocations: 19.98 kB / 0.7868 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.1721, allocations: 0 / 0.7868 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.69e-05/0.1722, allocations: 11.98 kB / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.1722, allocations: 0 / 0.7868 GB, free: 9.637 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 6.302e-05/0.1722, allocations: 116.6 kB / 0.7869 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.1723, allocations: 0 / 0.7869 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/0.1723, allocations: 15.89 kB / 0.7869 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1723, allocations: 0 / 0.7869 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.1723, allocations: 4 kB / 0.7869 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.1723, allocations: 0 / 0.7869 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.1725, allocations: 173.5 kB / 0.7871 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1725, allocations: 0 / 0.7871 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.839e-05/0.1726, allocations: 19.97 kB / 0.7871 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1726, allocations: 0 / 0.7871 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-06/0.1726, allocations: 0 / 0.7871 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1726, allocations: 0 / 0.7871 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1726, allocations: 0 / 0.7871 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.1729, allocations: 203.3 kB / 0.7873 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.931e-05/0.1729, allocations: 81.11 kB / 0.7874 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.173, allocations: 7.922 kB / 0.7874 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.1731, allocations: 7.984 kB / 0.7874 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.1731, allocations: 4 kB / 0.7874 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1731, allocations: 7.938 kB / 0.7874 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.786e-05/0.1732, allocations: 91.27 kB / 0.7875 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1732, allocations: 0 / 0.7875 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001972/0.1734, allocations: 4 kB / 0.7875 GB, free: 8.82 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.00056/0.1739, allocations: 0.7383 MB / 0.7882 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002841/0.1742, allocations: 71.92 kB / 0.7883 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.1742, allocations: 0 / 0.7883 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.1744, allocations: 35.97 kB / 0.7883 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.1746, allocations: 4 kB / 0.7883 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003743/0.175, allocations: 167.1 kB / 0.7885 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.1752, allocations: 0.6807 MB / 0.7892 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.347e-05/0.1753, allocations: 11.98 kB / 0.7892 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.303e-05/0.1753, allocations: 11.44 kB / 0.7892 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.1753, allocations: 0 / 0.7892 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.481/1.657, allocations: 1.422 MB / 0.7906 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/1.657, allocations: 207.8 kB / 0.7908 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/3.458, allocations: 0 / 0.7908 GB, free: 5.465 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)