Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009876/0.0009876, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 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.001046/0.001046, allocations: 169 kB / 24.28 MB, free: 280 kB / 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 0.9125/0.9125, allocations: 177.2 MB / 204.6 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.86/1.86, allocations: 377.8 MB / 0.6239 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.097e-05, allocations: 4.141 kB / 0.8115 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.138/0.138, allocations: 166.7 MB / 0.9743 GB, free: 10.84 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.004408/0.1424, allocations: 6.185 MB / 0.9803 GB, free: 4.633 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.1426, allocations: 7.938 kB / 0.9803 GB, free: 4.625 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0004707/0.1431, allocations: 198.7 kB / 0.9805 GB, free: 4.43 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0002561/0.1433, allocations: 95.3 kB / 0.9806 GB, free: 4.336 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007692/0.1441, allocations: 0.5407 MB / 0.9811 GB, free: 3.793 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0003734/0.1445, allocations: 418.5 kB / 0.9815 GB, free: 3.383 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.1447, allocations: 96.2 kB / 0.9816 GB, free: 3.285 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002834/0.1449, allocations: 247.3 kB / 0.9819 GB, free: 3.043 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.1451, allocations: 127.6 kB / 0.982 GB, free: 2.918 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.1451, allocations: 20 kB / 0.982 GB, free: 2.898 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004856/0.1456, allocations: 386.7 kB / 0.9824 GB, free: 2.52 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 8.106e-05/0.1457, allocations: 71.8 kB / 0.9824 GB, free: 2.449 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 6.314e-05/0.1457, allocations: 63.84 kB / 0.9825 GB, free: 2.387 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0004558/0.1462, allocations: 394.6 kB / 0.9829 GB, free: 2 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1462, allocations: 3.984 kB / 0.9829 GB, free: 1.996 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1462, allocations: 0 / 0.9829 GB, free: 1.996 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.1462, allocations: 0 / 0.9829 GB, free: 1.996 MB / 0.9323 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.0004876/0.1467, allocations: 0.5539 MB / 0.9834 GB, free: 1.406 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1467, allocations: 8.031 kB / 0.9834 GB, free: 1.398 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002623/0.147, allocations: 67.84 kB / 0.9835 GB, free: 1.332 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.1473, allocations: 222.1 kB / 0.9837 GB, free: 1.09 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.1474, allocations: 234.1 kB / 0.9839 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.1474, allocations: 24 kB / 0.984 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003302/0.1477, allocations: 285.8 kB / 0.9842 GB, free: 468 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1478, allocations: 4 kB / 0.9842 GB, free: 464 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.1478, allocations: 15.94 kB / 0.9843 GB, free: 448 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.1478, allocations: 7.984 kB / 0.9843 GB, free: 440 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.1479, allocations: 101.7 kB / 0.9844 GB, free: 340 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.149, allocations: 2.013 MB / 0.9863 GB, free: 14.23 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.732e-05/0.1491, allocations: 273.4 kB / 0.9866 GB, free: 13.95 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.657e-05/0.1491, allocations: 130.8 kB / 0.9867 GB, free: 13.82 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.1491, allocations: 119.2 kB / 0.9868 GB, free: 13.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.1492, allocations: 156.6 kB / 0.987 GB, free: 13.54 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.1492, allocations: 0 / 0.987 GB, free: 13.54 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 5.727e-05/0.1492, allocations: 37.61 kB / 0.987 GB, free: 13.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.1493, allocations: 174.6 kB / 0.9872 GB, free: 13.31 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.1494, allocations: 275.4 kB / 0.9874 GB, free: 13.03 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.1494, allocations: 25.7 kB / 0.9875 GB, free: 13 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.723e-05/0.1495, allocations: 266.2 kB / 0.9877 GB, free: 12.73 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.528e-06/0.1495, allocations: 4 kB / 0.9877 GB, free: 12.72 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.956e-05/0.1496, allocations: 47.31 kB / 0.9878 GB, free: 12.67 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1497, allocations: 0.4923 MB / 0.9882 GB, free: 12.16 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.707e-05/0.1497, allocations: 23.92 kB / 0.9883 GB, free: 12.14 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.614e-05/0.1498, allocations: 187.6 kB / 0.9884 GB, free: 11.88 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.15, allocations: 229.5 kB / 0.9887 GB, free: 11.57 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.15, allocations: 0 / 0.9887 GB, free: 11.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000242/0.1502, allocations: 181.1 kB / 0.9888 GB, free: 11.38 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.1502, allocations: 8 kB / 0.9888 GB, free: 11.38 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1502, allocations: 4 kB / 0.9888 GB, free: 11.37 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1502, allocations: 8 kB / 0.9889 GB, free: 11.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.643e-05/0.1503, allocations: 36.48 kB / 0.9889 GB, free: 11.33 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1503, allocations: 7.938 kB / 0.9889 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.737e-05/0.1504, allocations: 27.89 kB / 0.9889 GB, free: 11.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.1504, allocations: 8 kB / 0.9889 GB, free: 11.29 MB / 0.948 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 9.606e-05/0.1505, allocations: 295.6 kB / 0.9892 GB, free: 10.98 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.1506, allocations: 164.7 kB / 0.9894 GB, free: 10.82 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.027e-05/0.1506, allocations: 157.4 kB / 0.9895 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.527e-05/0.1507, allocations: 272.1 kB / 0.9898 GB, free: 10.38 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.894e-05/0.1508, allocations: 268 kB / 0.99 GB, free: 10.11 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.495e-05/0.1508, allocations: 268 kB / 0.9903 GB, free: 9.844 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.151, allocations: 0.5467 MB / 0.9908 GB, free: 9.254 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-05/0.1511, allocations: 149 kB / 0.991 GB, free: 9.102 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.18e-05/0.1511, allocations: 156.9 kB / 0.9911 GB, free: 8.941 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-05/0.1511, allocations: 268 kB / 0.9914 GB, free: 8.672 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.899e-05/0.1512, allocations: 268.1 kB / 0.9916 GB, free: 8.402 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.902e-05/0.1513, allocations: 268 kB / 0.9919 GB, free: 8.133 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-05/0.1513, allocations: 264.1 kB / 0.9921 GB, free: 7.867 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.1514, allocations: 467.8 kB / 0.9926 GB, free: 7.383 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.002e-05/0.1515, allocations: 160.8 kB / 0.9927 GB, free: 7.219 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.56e-05/0.1516, allocations: 272 kB / 0.993 GB, free: 6.945 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.879e-05/0.1516, allocations: 148.9 kB / 0.9931 GB, free: 6.793 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.15e-05/0.1517, allocations: 272 kB / 0.9934 GB, free: 6.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.1517, allocations: 152.9 kB / 0.9935 GB, free: 6.363 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.415e-05/0.1518, allocations: 179.1 kB / 0.9937 GB, free: 6.188 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1518, allocations: 3.938 kB / 0.9937 GB, free: 6.184 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002436/0.1521, allocations: 63.78 kB / 0.9938 GB, free: 6.121 MB / 0.948 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.0001867/0.1523, allocations: 246.3 kB / 0.994 GB, free: 5.871 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001254/0.1524, allocations: 67.47 kB / 0.9941 GB, free: 5.801 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.1524, allocations: 1.25 kB / 0.9941 GB, free: 5.801 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.1524, allocations: 0 / 0.9941 GB, free: 5.801 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.1527, allocations: 0.714 MB / 0.9948 GB, free: 5.082 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005888/0.1533, allocations: 439 kB / 0.9952 GB, free: 4.625 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.808e-05/0.1533, allocations: 83.75 kB / 0.9953 GB, free: 4.523 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.054e-05/0.1534, allocations: 21.48 kB / 0.9953 GB, free: 4.504 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/0.1534, allocations: 16.5 kB / 0.9953 GB, free: 4.488 MB / 0.948 GB Notification: Performance of SimCode: time 7.31e-07/0.1534, allocations: 0 / 0.9953 GB, free: 4.488 MB / 0.948 GB Notification: Performance of Templates: time 0.003001/0.1564, allocations: 1.2 MB / 0.9965 GB, free: 3.301 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 5.206066075945273]