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.Modulo.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.Modulo,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",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.231/1.231, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0008962/0.0008962, allocations: 186.6 kB / 325.9 MB, free: 2.703 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.393/1.393, allocations: 205 MB / 0.576 GB, free: 21 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.0006881/0.0006881, allocations: 92.11 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003734, allocations: 12.12 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1639, 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.Modulo): time 0.001201/0.1652, allocations: 1.156 MB / 0.8974 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002675/0.1655, allocations: 181.1 kB / 0.8975 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.808e-05/0.1655, allocations: 0 / 0.8975 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.845e-05/0.1655, allocations: 7.938 kB / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.484e-05/0.1656, allocations: 7.938 kB / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001176/0.1657, allocations: 11.98 kB / 0.8976 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.165e-05/0.1658, allocations: 39.86 kB / 0.8976 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.222e-05/0.1659, allocations: 16.27 kB / 0.8976 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.751e-05/0.1659, allocations: 19.97 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.622e-05/0.166, allocations: 15.92 kB / 0.8976 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.166, allocations: 0 / 0.8976 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.02e-05/0.166, allocations: 4 kB / 0.8977 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.166, allocations: 3.938 kB / 0.8977 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.166, allocations: 15.92 kB / 0.8977 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.38e-05/0.1661, allocations: 39.81 kB / 0.8977 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1661, allocations: 0 / 0.8977 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1661, allocations: 3.938 kB / 0.8977 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.1661, allocations: 4 kB / 0.8977 GB, free: 66.53 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.0003391/0.1665, allocations: 371.3 kB / 0.8981 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.1665, allocations: 8.031 kB / 0.8981 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.268e-05/0.1665, allocations: 30.75 kB / 0.8981 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.013e-05/0.1666, allocations: 12.94 kB / 0.8981 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.342e-05/0.1666, allocations: 168.3 kB / 0.8983 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.1666, allocations: 4.375 kB / 0.8983 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.1666, allocations: 384 / 0.8983 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.1668, allocations: 82.2 kB / 0.8984 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.403e-06/0.1669, allocations: 7.938 kB / 0.8984 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.513e-06/0.1669, allocations: 3.938 kB / 0.8984 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.1669, allocations: 0 / 0.8984 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002495/0.1671, allocations: 91.86 kB / 0.8985 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002206/0.1674, allocations: 260.9 kB / 0.8987 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.1675, allocations: 66.53 kB / 0.8988 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.1677, allocations: 52.91 kB / 0.8988 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.1677, allocations: 12 kB / 0.8988 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.173e-05/0.1677, allocations: 30.56 kB / 0.8989 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1677, allocations: 0 / 0.8989 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0004403/0.1682, allocations: 161.4 kB / 0.899 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.651e-05/0.1682, allocations: 59.39 kB / 0.8991 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.264e-05/0.1682, allocations: 105.9 kB / 0.8992 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-06/0.1683, allocations: 25.7 kB / 0.8992 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.098e-05/0.1683, allocations: 92.12 kB / 0.8993 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.266e-05/0.1683, allocations: 7.844 kB / 0.8993 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.73e-05/0.1683, allocations: 9.719 kB / 0.8993 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.601e-05/0.1684, allocations: 314.8 kB / 0.8996 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.1685, allocations: 47.95 kB / 0.8997 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.1686, allocations: 39.97 kB / 0.8997 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.1689, allocations: 100.7 kB / 0.8998 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1689, allocations: 4 kB / 0.8998 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002904/0.1692, allocations: 121.9 kB / 0.8999 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.806e-06/0.1692, allocations: 4 kB / 0.8999 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1692, allocations: 7.969 kB / 0.8999 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/0.1692, allocations: 0 / 0.8999 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.1693, allocations: 23.92 kB / 0.8999 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.1693, allocations: 0 / 0.8999 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.081e-05/0.1694, allocations: 19.98 kB / 0.9 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.1694, allocations: 0 / 0.9 GB, free: 64 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.057e-05/0.1695, allocations: 117.8 kB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.1695, allocations: 0 / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.1695, allocations: 15.89 kB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.1695, allocations: 0 / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1695, allocations: 0 / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1695, allocations: 0 / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.694e-05/0.1696, allocations: 169.5 kB / 0.9002 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1696, allocations: 4 kB / 0.9003 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.672e-05/0.1697, allocations: 23.97 kB / 0.9003 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.1697, allocations: 0 / 0.9003 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.1697, allocations: 4 kB / 0.9003 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1698, allocations: 4 kB / 0.9003 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1698, allocations: 0 / 0.9003 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.17, allocations: 223.3 kB / 0.9005 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.433e-05/0.1701, allocations: 81.11 kB / 0.9006 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.1701, allocations: 3.984 kB / 0.9006 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.553e-05/0.1702, allocations: 19.98 kB / 0.9006 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.1702, allocations: 0 / 0.9006 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.1702, allocations: 4 kB / 0.9006 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.178e-05/0.1702, allocations: 87.27 kB / 0.9007 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1703, allocations: 4 kB / 0.9007 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001843/0.1704, allocations: 8 kB / 0.9007 GB, free: 63.14 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.0004313/0.1709, allocations: 0.7552 MB / 0.9014 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002717/0.1712, allocations: 91.92 kB / 0.9015 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1712, allocations: 0 / 0.9015 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.1713, allocations: 47.91 kB / 0.9016 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.1715, allocations: 8.969 kB / 0.9016 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.1719, allocations: 168.8 kB / 0.9017 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.44e-05/0.172, allocations: 0.6809 MB / 0.9024 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.535e-05/0.172, allocations: 4 kB / 0.9024 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.432e-05/0.172, allocations: 11.44 kB / 0.9024 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of SimCode: time 2.81e-07/0.1721, allocations: 0 / 0.9024 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05453/0.2266, allocations: 1.355 MB / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/0.2268, allocations: 226.8 kB / 0.904 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/1.763, allocations: 3.875 kB / 0.904 GB, free: 59.82 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)