Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.249/1.249, allocations: 251.5 MB / 266.7 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009062/0.0009062, allocations: 174.9 kB / 325.9 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205 MB / 0.576 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006621/0.000662, allocations: 90.36 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002795/0.0002796, allocations: 19.39 kB / 0.7933 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1702, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.001276/0.1715, allocations: 1.16 MB / 0.8974 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002404/0.1718, allocations: 125.3 kB / 0.8975 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.911e-05/0.1718, allocations: 0 / 0.8975 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.099e-05/0.1719, allocations: 4 kB / 0.8975 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.312e-05/0.1719, allocations: 3.938 kB / 0.8975 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 8.042e-05/0.172, allocations: 7.984 kB / 0.8975 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.941e-05/0.1721, allocations: 43.86 kB / 0.8975 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.475e-05/0.1722, allocations: 8.281 kB / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.554e-05/0.1723, allocations: 15.92 kB / 0.8976 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.307e-05/0.1723, allocations: 23.91 kB / 0.8976 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.1723, allocations: 4 kB / 0.8976 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.477e-06/0.1723, allocations: 0 / 0.8976 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.1724, allocations: 11.92 kB / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.383e-05/0.1724, allocations: 7.938 kB / 0.8976 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.129e-05/0.1725, allocations: 39.8 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1725, allocations: 0 / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1725, allocations: 0 / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.1725, allocations: 4 kB / 0.8976 GB, free: 66.61 MB / 0.6042 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.0004137/0.1729, allocations: 367.4 kB / 0.898 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.1729, allocations: 11.97 kB / 0.898 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.893e-05/0.173, allocations: 42.73 kB / 0.898 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.31e-05/0.173, allocations: 4.875 kB / 0.898 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.082e-05/0.1731, allocations: 168.3 kB / 0.8982 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1731, allocations: 384 / 0.8982 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.1731, allocations: 12.31 kB / 0.8982 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.1734, allocations: 74.22 kB / 0.8983 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.1734, allocations: 3.938 kB / 0.8983 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1734, allocations: 7.984 kB / 0.8983 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1734, allocations: 0 / 0.8983 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002625/0.1737, allocations: 79.94 kB / 0.8984 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002499/0.174, allocations: 272.9 kB / 0.8986 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.1741, allocations: 66.47 kB / 0.8987 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.1743, allocations: 56.91 kB / 0.8988 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.1743, allocations: 3.984 kB / 0.8988 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.1743, allocations: 38.55 kB / 0.8988 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1743, allocations: 8 kB / 0.8988 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0004902/0.1748, allocations: 157.5 kB / 0.899 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.1749, allocations: 55.34 kB / 0.899 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.441e-05/0.1749, allocations: 113.8 kB / 0.8991 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.1749, allocations: 25.7 kB / 0.8991 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.514e-05/0.175, allocations: 92.12 kB / 0.8992 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.175, allocations: 11.84 kB / 0.8992 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-05/0.175, allocations: 13.72 kB / 0.8993 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.05e-05/0.1751, allocations: 310.8 kB / 0.8995 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.1752, allocations: 43.95 kB / 0.8996 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.1753, allocations: 43.97 kB / 0.8996 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.1756, allocations: 96.72 kB / 0.8997 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1756, allocations: 0 / 0.8997 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000278/0.1759, allocations: 125.5 kB / 0.8998 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.1759, allocations: 4 kB / 0.8998 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.1759, allocations: 4 kB / 0.8999 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.1759, allocations: 4 kB / 0.8999 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.176, allocations: 23.97 kB / 0.8999 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.176, allocations: 0 / 0.8999 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.328e-05/0.1761, allocations: 15.98 kB / 0.8999 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1761, allocations: 3.938 kB / 0.8999 GB, free: 64.05 MB / 0.6042 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 4.709e-05/0.1762, allocations: 117.8 kB / 0.9 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.1762, allocations: 4 kB / 0.9 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003116/0.1765, allocations: 125.5 kB / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1765, allocations: 4 kB / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1765, allocations: 0 / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1766, allocations: 0 / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.1767, allocations: 177.5 kB / 0.9003 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1767, allocations: 3.938 kB / 0.9003 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.847e-05/0.1768, allocations: 23.98 kB / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1768, allocations: 0 / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1768, allocations: 0 / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1768, allocations: 0 / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1768, allocations: 0 / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002934/0.1771, allocations: 223.3 kB / 0.9005 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.543e-05/0.1771, allocations: 81.53 kB / 0.9006 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.1771, allocations: 0 / 0.9006 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.955e-05/0.1772, allocations: 19.98 kB / 0.9006 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.1773, allocations: 3.984 kB / 0.9006 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.1773, allocations: 0 / 0.9006 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.419e-05/0.1773, allocations: 91.27 kB / 0.9007 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1773, allocations: 0 / 0.9007 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001893/0.1775, allocations: 8 kB / 0.9007 GB, free: 63.08 MB / 0.6042 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.0004578/0.178, allocations: 0.7591 MB / 0.9015 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002806/0.1783, allocations: 87.92 kB / 0.9016 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1783, allocations: 0 / 0.9016 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.1784, allocations: 55.89 kB / 0.9016 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.1787, allocations: 8 kB / 0.9016 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.1791, allocations: 164.8 kB / 0.9018 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.554e-05/0.1792, allocations: 0.6809 MB / 0.9024 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.826e-05/0.1792, allocations: 4 kB / 0.9025 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.1792, allocations: 15.42 kB / 0.9025 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of SimCode: time 3e-07/0.1792, allocations: 0 / 0.9025 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1149/0.2941, allocations: 1.308 MB / 0.9037 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001436/0.2943, allocations: 208.5 kB / 0.9039 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/1.896, allocations: 7.938 kB / 0.904 GB, free: 59.8 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)