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.0008807/0.0008807, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009312/0.0009312, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9312/0.9312, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.381/2.381, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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.284e-06/2.284e-06, allocations: 0 / 0.8897 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.683e-05/1.912e-05, allocations: 6.25 kB / 0.8897 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1466/0.1467, allocations: 147 MB / 1.033 GB, free: 6.176 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0009786/0.1476, allocations: 0.5725 MB / 1.034 GB, free: 5.602 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000215/0.1479, allocations: 11.94 kB / 1.034 GB, free: 5.59 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004895/0.1483, allocations: 131 kB / 1.034 GB, free: 5.461 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003102/0.1487, allocations: 95.31 kB / 1.034 GB, free: 5.367 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.1499, allocations: 0.5368 MB / 1.035 GB, free: 4.828 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0004526/0.1503, allocations: 426.5 kB / 1.035 GB, free: 4.41 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/0.1505, allocations: 92.28 kB / 1.035 GB, free: 4.312 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003092/0.1509, allocations: 235.3 kB / 1.035 GB, free: 4.082 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.151, allocations: 127.6 kB / 1.035 GB, free: 3.957 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.1511, allocations: 16 kB / 1.035 GB, free: 3.941 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006255/0.1517, allocations: 386.7 kB / 1.036 GB, free: 3.562 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.1518, allocations: 71.75 kB / 1.036 GB, free: 3.492 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 6.838e-05/0.1519, allocations: 75.81 kB / 1.036 GB, free: 3.418 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004649/0.1523, allocations: 386.7 kB / 1.036 GB, free: 3.039 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1523, allocations: 0 / 1.036 GB, free: 3.039 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.884e-06/0.1523, allocations: 4 kB / 1.036 GB, free: 3.035 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.1523, allocations: 0 / 1.036 GB, free: 3.035 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.000518/0.1529, allocations: 0.5464 MB / 1.037 GB, free: 2.453 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.1529, allocations: 8.625 kB / 1.037 GB, free: 2.445 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002624/0.1532, allocations: 76.66 kB / 1.037 GB, free: 2.371 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.1534, allocations: 212.2 kB / 1.037 GB, free: 2.137 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/0.1536, allocations: 242 kB / 1.037 GB, free: 1.848 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.1536, allocations: 24 kB / 1.037 GB, free: 1.824 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.1539, allocations: 269.8 kB / 1.038 GB, free: 1.508 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1539, allocations: 0 / 1.038 GB, free: 1.508 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.1539, allocations: 12 kB / 1.038 GB, free: 1.496 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.1539, allocations: 8 kB / 1.038 GB, free: 1.488 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.154, allocations: 85.72 kB / 1.038 GB, free: 1.406 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.1554, allocations: 1.986 MB / 1.04 GB, free: 15.34 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 8.963e-05/0.1555, allocations: 261.4 kB / 1.04 GB, free: 15.07 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.456e-05/0.1555, allocations: 130.9 kB / 1.04 GB, free: 14.94 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.1555, allocations: 123.2 kB / 1.04 GB, free: 14.82 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/0.1556, allocations: 156.5 kB / 1.04 GB, free: 14.65 MB / 1.01 GB Notification: Performance of pre-optimization done (n=0): time 1.703e-06/0.1556, allocations: 7.938 kB / 1.04 GB, free: 14.64 MB / 1.01 GB Notification: Performance of matching and sorting (n=0): time 6.762e-05/0.1557, allocations: 37.66 kB / 1.04 GB, free: 14.6 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.1557, allocations: 170.6 kB / 1.041 GB, free: 14.42 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.1559, allocations: 265.9 kB / 1.041 GB, free: 14.14 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.1559, allocations: 25.7 kB / 1.041 GB, free: 14.11 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.156, allocations: 258.3 kB / 1.041 GB, free: 13.85 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.908e-06/0.156, allocations: 4 kB / 1.041 GB, free: 13.85 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/0.1561, allocations: 51.3 kB / 1.041 GB, free: 13.79 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1562, allocations: 0.4962 MB / 1.042 GB, free: 13.28 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.636e-05/0.1562, allocations: 12 kB / 1.042 GB, free: 13.27 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.1564, allocations: 199 kB / 1.042 GB, free: 12.99 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.1565, allocations: 221.5 kB / 1.042 GB, free: 12.69 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1565, allocations: 4 kB / 1.042 GB, free: 12.69 MB / 1.01 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002232/0.1567, allocations: 165.5 kB / 1.042 GB, free: 12.52 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1568, allocations: 8 kB / 1.042 GB, free: 12.51 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1568, allocations: 4 kB / 1.042 GB, free: 12.51 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1568, allocations: 4 kB / 1.042 GB, free: 12.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.631e-05/0.1569, allocations: 43.92 kB / 1.042 GB, free: 12.46 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1569, allocations: 7.938 kB / 1.042 GB, free: 12.45 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.934e-05/0.157, allocations: 23.83 kB / 1.042 GB, free: 12.43 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.157, allocations: 12 kB / 1.042 GB, free: 12.42 MB / 1.01 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.0001109/0.1571, allocations: 291.9 kB / 1.043 GB, free: 12.12 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.689e-05/0.1572, allocations: 164.8 kB / 1.043 GB, free: 11.95 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.316e-05/0.1572, allocations: 165.4 kB / 1.043 GB, free: 11.79 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.361e-05/0.1573, allocations: 272.1 kB / 1.043 GB, free: 11.52 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-05/0.1574, allocations: 268 kB / 1.043 GB, free: 11.25 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.768e-05/0.1574, allocations: 268.1 kB / 1.044 GB, free: 10.98 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.1576, allocations: 0.5043 MB / 1.044 GB, free: 10.44 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.651e-05/0.1577, allocations: 148.8 kB / 1.044 GB, free: 10.29 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.051e-05/0.1577, allocations: 156.8 kB / 1.044 GB, free: 10.12 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.451e-05/0.1578, allocations: 272 kB / 1.045 GB, free: 9.852 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.581e-05/0.1579, allocations: 264.1 kB / 1.045 GB, free: 9.586 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.227e-05/0.1579, allocations: 280 kB / 1.045 GB, free: 9.305 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004531/0.1584, allocations: 272 kB / 1.045 GB, free: 9.031 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.1585, allocations: 455.9 kB / 1.046 GB, free: 8.559 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 6.163e-05/0.1586, allocations: 168.8 kB / 1.046 GB, free: 8.387 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.707e-05/0.1587, allocations: 264.1 kB / 1.046 GB, free: 8.121 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.647e-05/0.1587, allocations: 152.8 kB / 1.046 GB, free: 7.965 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.121e-05/0.1588, allocations: 272.1 kB / 1.047 GB, free: 7.691 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.969e-05/0.1588, allocations: 152.8 kB / 1.047 GB, free: 7.535 MB / 1.01 GB Notification: Performance of sorting global known variables: time 8.812e-05/0.1589, allocations: 168.4 kB / 1.047 GB, free: 7.371 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.1589, allocations: 0 / 1.047 GB, free: 7.371 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002396/0.1592, allocations: 63.83 kB / 1.047 GB, free: 7.309 MB / 1.01 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.0002166/0.1594, allocations: 242.3 kB / 1.047 GB, free: 7.062 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001138/0.1595, allocations: 67.72 kB / 1.047 GB, free: 6.992 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1595, allocations: 0 / 1.047 GB, free: 6.992 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 8.61e-07/0.1595, allocations: 0 / 1.047 GB, free: 6.992 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.1598, allocations: 0.7197 MB / 1.048 GB, free: 6.27 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006113/0.1604, allocations: 436.1 kB / 1.049 GB, free: 5.812 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.882e-05/0.1605, allocations: 79.67 kB / 1.049 GB, free: 5.715 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 5.945e-05/0.1606, allocations: 21.48 kB / 1.049 GB, free: 5.695 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.27e-05/0.1606, allocations: 78.2 kB / 1.049 GB, free: 5.617 MB / 1.01 GB Notification: Performance of SimCode: time 7.32e-07/0.1606, allocations: 0 / 1.049 GB, free: 5.617 MB / 1.01 GB Notification: Performance of Templates: time 0.003602/0.1642, allocations: 1.339 MB / 1.05 GB, free: 4.285 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.15187598625198]