Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 169 kB / 23.02 MB, free: 1.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.13/1.13, allocations: 177.1 MB / 203.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.298/2.298, allocations: 429.5 MB / 0.6732 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.[0-9,]+.|conDryAirWithC.outlet.forward.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.[0-9,]+.|conDryAirWithC.outlet.forward.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.965e-06/2.965e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.002e-05/4.298e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1567/0.1567, allocations: 149.8 MB / 1.024 GB, free: 0 / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1578, allocations: 0.5725 MB / 1.025 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002365/0.158, allocations: 7.938 kB / 1.025 GB, free: 15.42 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005525/0.1586, allocations: 127.1 kB / 1.025 GB, free: 15.29 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003619/0.1589, allocations: 99.3 kB / 1.025 GB, free: 15.2 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.1602, allocations: 0.5407 MB / 1.026 GB, free: 14.65 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0006894/0.1609, allocations: 422.5 kB / 1.026 GB, free: 14.24 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000257/0.1611, allocations: 92.25 kB / 1.026 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004066/0.1615, allocations: 235.3 kB / 1.026 GB, free: 13.91 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.1618, allocations: 135.6 kB / 1.027 GB, free: 13.78 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.1618, allocations: 16 kB / 1.027 GB, free: 13.76 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006964/0.1625, allocations: 386.6 kB / 1.027 GB, free: 13.38 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.1626, allocations: 71.73 kB / 1.027 GB, free: 13.31 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 9.936e-05/0.1627, allocations: 71.83 kB / 1.027 GB, free: 13.24 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006116/0.1633, allocations: 382.7 kB / 1.027 GB, free: 12.87 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1633, allocations: 0 / 1.027 GB, free: 12.87 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1633, allocations: 4 kB / 1.027 GB, free: 12.86 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.1633, allocations: 0 / 1.027 GB, free: 12.86 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005461/0.1639, allocations: 0.5464 MB / 1.028 GB, free: 12.28 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1639, allocations: 12.03 kB / 1.028 GB, free: 12.27 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002745/0.1642, allocations: 72.7 kB / 1.028 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.1645, allocations: 212.2 kB / 1.028 GB, free: 11.96 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.1647, allocations: 238 kB / 1.029 GB, free: 11.68 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.1647, allocations: 24 kB / 1.029 GB, free: 11.66 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000379/0.1651, allocations: 285.8 kB / 1.029 GB, free: 11.33 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1651, allocations: 0 / 1.029 GB, free: 11.33 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.1651, allocations: 12 kB / 1.029 GB, free: 11.32 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.1651, allocations: 8 kB / 1.029 GB, free: 11.31 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.1653, allocations: 100.6 kB / 1.029 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.1664, allocations: 2.02 MB / 1.031 GB, free: 9.102 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.1666, allocations: 269.4 kB / 1.031 GB, free: 8.824 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.668e-05/0.1666, allocations: 134.8 kB / 1.031 GB, free: 8.688 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.1666, allocations: 119.2 kB / 1.031 GB, free: 8.57 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.808e-05/0.1667, allocations: 156.5 kB / 1.032 GB, free: 8.406 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=0): time 1.352e-06/0.1667, allocations: 0 / 1.032 GB, free: 8.406 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0): time 7.282e-05/0.1667, allocations: 45.59 kB / 1.032 GB, free: 8.355 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.1668, allocations: 174.6 kB / 1.032 GB, free: 8.172 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.167, allocations: 278.9 kB / 1.032 GB, free: 7.883 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.167, allocations: 25.7 kB / 1.032 GB, free: 7.852 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.1671, allocations: 246.4 kB / 1.032 GB, free: 7.605 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.248e-06/0.1671, allocations: 4 kB / 1.032 GB, free: 7.602 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.1672, allocations: 51.31 kB / 1.032 GB, free: 7.543 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1673, allocations: 0.4923 MB / 1.033 GB, free: 7.039 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.79e-05/0.1673, allocations: 15.98 kB / 1.033 GB, free: 7.023 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.1675, allocations: 196.1 kB / 1.033 GB, free: 6.75 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.1677, allocations: 221.5 kB / 1.033 GB, free: 6.449 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.1677, allocations: 4 kB / 1.033 GB, free: 6.445 MB / 0.9948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002566/0.168, allocations: 177.6 kB / 1.033 GB, free: 6.266 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.168, allocations: 12.08 kB / 1.033 GB, free: 6.254 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.168, allocations: 8 kB / 1.033 GB, free: 6.246 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.168, allocations: 4 kB / 1.033 GB, free: 6.242 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.1681, allocations: 35.92 kB / 1.033 GB, free: 6.207 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.1681, allocations: 11.94 kB / 1.033 GB, free: 6.195 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.252e-05/0.1682, allocations: 23.84 kB / 1.033 GB, free: 6.172 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.1682, allocations: 12 kB / 1.033 GB, free: 6.16 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 0.0001157/0.1684, allocations: 287.6 kB / 1.034 GB, free: 5.867 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/0.1684, allocations: 164.8 kB / 1.034 GB, free: 5.699 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.486e-05/0.1685, allocations: 161.3 kB / 1.034 GB, free: 5.535 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.888e-05/0.1685, allocations: 272.1 kB / 1.034 GB, free: 5.262 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-05/0.1686, allocations: 272 kB / 1.035 GB, free: 4.988 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.208e-05/0.1686, allocations: 268.1 kB / 1.035 GB, free: 4.719 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.1689, allocations: 0.5389 MB / 1.035 GB, free: 4.137 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.373e-05/0.1689, allocations: 156.9 kB / 1.036 GB, free: 3.977 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.438e-05/0.1689, allocations: 152.9 kB / 1.036 GB, free: 3.82 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.537e-05/0.169, allocations: 272 kB / 1.036 GB, free: 3.547 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.464e-05/0.1691, allocations: 268.2 kB / 1.036 GB, free: 3.277 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.114e-05/0.1691, allocations: 276 kB / 1.036 GB, free: 3 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-05/0.1692, allocations: 268 kB / 1.037 GB, free: 2.73 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.1693, allocations: 459.9 kB / 1.037 GB, free: 2.254 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.897e-05/0.1694, allocations: 172.6 kB / 1.037 GB, free: 2.082 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.806e-05/0.1695, allocations: 264.1 kB / 1.038 GB, free: 1.816 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.213e-05/0.1695, allocations: 152.8 kB / 1.038 GB, free: 1.66 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.1696, allocations: 268.1 kB / 1.038 GB, free: 1.391 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/0.1696, allocations: 148.8 kB / 1.038 GB, free: 1.238 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 9.988e-05/0.1697, allocations: 179.1 kB / 1.038 GB, free: 1.062 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.1697, allocations: 0 / 1.038 GB, free: 1.062 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002701/0.17, allocations: 63.78 kB / 1.038 GB, free: 1 MB / 0.9948 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 (0): * Single equations (assignments): 0 * 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.0002602/0.1703, allocations: 242.3 kB / 1.039 GB, free: 0.7539 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001569/0.1704, allocations: 68.61 kB / 1.039 GB, free: 0.6836 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1704, allocations: 0 / 1.039 GB, free: 0.6836 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.1704, allocations: 0 / 1.039 GB, free: 0.6836 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.1708, allocations: 0.7179 MB / 1.039 GB, free: 15.96 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006866/0.1715, allocations: 427.1 kB / 1.04 GB, free: 15.52 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.515e-05/0.1715, allocations: 83.67 kB / 1.04 GB, free: 15.41 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 7.953e-05/0.1716, allocations: 29.53 kB / 1.04 GB, free: 15.39 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.323e-05/0.1716, allocations: 16.5 kB / 1.04 GB, free: 15.37 MB / 1.01 GB Notification: Performance of SimCode: time 6.01e-07/0.1716, allocations: 0 / 1.04 GB, free: 15.37 MB / 1.01 GB Notification: Performance of Templates: time 0.003735/0.1754, allocations: 1.317 MB / 1.041 GB, free: 14.07 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.70185731491074]