Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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.001061/0.001061, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001502/0.001502, allocations: 165 kB / 23.82 MB, free: 0.75 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.9691/0.9691, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.806/1.806, allocations: 377.8 MB / 0.6236 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.AirToOutletFlowReversal,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,]+.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.[0-9,]+.|conDryAirWithC.CZon.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,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,]+.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.[0-9,]+.|conDryAirWithC.CZon.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0.6562 kB / 0.8115 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.516e-05, allocations: 3.312 kB / 0.8115 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1362/0.1363, allocations: 161.6 MB / 0.9694 GB, free: 15.57 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.006626/0.1429, allocations: 5.427 MB / 0.9747 GB, free: 10.13 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009662/0.1438, allocations: 75.31 kB / 0.9747 GB, free: 10.06 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.1451, allocations: 0.5779 MB / 0.9753 GB, free: 9.477 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.001923/0.147, allocations: 1.247 MB / 0.9765 GB, free: 8.223 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002683/0.1497, allocations: 1.678 MB / 0.9782 GB, free: 6.539 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002758/0.1524, allocations: 2.709 MB / 0.9808 GB, free: 3.82 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.1535, allocations: 0.9934 MB / 0.9818 GB, free: 2.789 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001388/0.1549, allocations: 1.461 MB / 0.9832 GB, free: 1.324 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007359/0.1557, allocations: 0.8102 MB / 0.984 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.1558, allocations: 108 kB / 0.9841 GB, free: 416 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.1571, allocations: 1.001 MB / 0.9851 GB, free: 15.4 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002598/0.1573, allocations: 406.6 kB / 0.9855 GB, free: 15 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003433/0.1577, allocations: 447 kB / 0.9859 GB, free: 14.57 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.159, allocations: 1.483 MB / 0.9873 GB, free: 13.08 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.159, allocations: 3.938 kB / 0.9873 GB, free: 13.07 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.523e-06/0.159, allocations: 0 / 0.9873 GB, free: 13.07 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.159, allocations: 0 / 0.9873 GB, free: 13.07 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001469/0.1605, allocations: 1.518 MB / 0.9888 GB, free: 11.51 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.1605, allocations: 12.03 kB / 0.9888 GB, free: 11.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006233/0.1611, allocations: 338.6 kB / 0.9892 GB, free: 11.17 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008507/0.162, allocations: 0.9288 MB / 0.9901 GB, free: 10.21 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.1621, allocations: 291.6 kB / 0.9903 GB, free: 9.875 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.219e-05/0.1622, allocations: 92 kB / 0.9904 GB, free: 9.785 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007707/0.163, allocations: 0.6884 MB / 0.9911 GB, free: 9.051 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.163, allocations: 0 / 0.9911 GB, free: 9.051 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.448e-05/0.163, allocations: 36 kB / 0.9911 GB, free: 9.016 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.163, allocations: 28 kB / 0.9912 GB, free: 8.988 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004642/0.1635, allocations: 307.7 kB / 0.9915 GB, free: 8.684 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/0.1657, allocations: 3.006 MB / 0.9944 GB, free: 5.594 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.1659, allocations: 87.12 kB / 0.9945 GB, free: 5.496 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.16e-05/0.1659, allocations: 55.66 kB / 0.9945 GB, free: 5.438 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000205/0.1662, allocations: 95.97 kB / 0.9946 GB, free: 5.344 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002826/0.1664, allocations: 41.39 kB / 0.9947 GB, free: 5.293 MB / 0.948 GB Notification: Performance of pre-optimization done (n=24): time 1.273e-06/0.1664, allocations: 0 / 0.9947 GB, free: 5.293 MB / 0.948 GB Notification: Performance of matching and sorting (n=24): time 0.0004751/0.1669, allocations: 279.2 kB / 0.9949 GB, free: 5.016 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.1669, allocations: 51.41 kB / 0.995 GB, free: 4.953 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005201/0.1675, allocations: 0.6712 MB / 0.9956 GB, free: 4.27 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.1675, allocations: 33.7 kB / 0.9957 GB, free: 4.23 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.1677, allocations: 0.5998 MB / 0.9963 GB, free: 3.621 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.1678, allocations: 95.2 kB / 0.9963 GB, free: 3.527 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.1679, allocations: 95.8 kB / 0.9964 GB, free: 3.426 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.168, allocations: 0.4964 MB / 0.9969 GB, free: 2.922 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.459e-05/0.1681, allocations: 44.97 kB / 0.997 GB, free: 2.879 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/0.1684, allocations: 0.7358 MB / 0.9977 GB, free: 1.906 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.1687, allocations: 386.8 kB / 0.998 GB, free: 1.41 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1687, allocations: 4 kB / 0.9981 GB, free: 1.406 MB / 0.948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004096/0.1691, allocations: 380.6 kB / 0.9984 GB, free: 1.027 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1691, allocations: 4 kB / 0.9984 GB, free: 1.023 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.1691, allocations: 12 kB / 0.9984 GB, free: 1.012 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1691, allocations: 11.94 kB / 0.9984 GB, free: 1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.1693, allocations: 87.89 kB / 0.9985 GB, free: 0.9141 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.1694, allocations: 12.44 kB / 0.9985 GB, free: 0.9023 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.1696, allocations: 47.67 kB / 0.9986 GB, free: 0.8555 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/0.1696, allocations: 31.98 kB / 0.9986 GB, free: 0.8242 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 48 * 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.0001453/0.1697, allocations: 188.4 kB / 0.9988 GB, free: 0.6289 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.962e-05/0.1698, allocations: 87.48 kB / 0.9989 GB, free: 0.543 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/0.1701, allocations: 273.1 kB / 0.9991 GB, free: 272 kB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1701, allocations: 3.938 kB / 0.9991 GB, free: 268 kB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1701, allocations: 4 kB / 0.9991 GB, free: 264 kB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.1701, allocations: 11.92 kB / 0.9992 GB, free: 252 kB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.1711, allocations: 1.12 MB / 1 GB, free: 15.01 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.1712, allocations: 4 kB / 1 GB, free: 15 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.851e-05/0.1712, allocations: 43.91 kB / 1 GB, free: 14.96 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1712, allocations: 4 kB / 1 GB, free: 14.96 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.1713, allocations: 12 kB / 1 GB, free: 14.95 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.1713, allocations: 11.88 kB / 1 GB, free: 14.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.1713, allocations: 7.984 kB / 1 GB, free: 14.93 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.1716, allocations: 0.5054 MB / 1.001 GB, free: 14.32 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.1717, allocations: 127.4 kB / 1.001 GB, free: 14.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.1717, allocations: 15.94 kB / 1.001 GB, free: 14.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.1719, allocations: 7.938 kB / 1.001 GB, free: 14.18 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.1719, allocations: 31.89 kB / 1.001 GB, free: 14.14 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.1719, allocations: 16 kB / 1.001 GB, free: 14.13 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0006412/0.1726, allocations: 438.9 kB / 1.001 GB, free: 13.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.1726, allocations: 0 / 1.001 GB, free: 13.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0005244/0.1731, allocations: 319 kB / 1.002 GB, free: 13.39 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002752/0.1734, allocations: 241.7 kB / 1.002 GB, free: 13.15 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002578/0.1736, allocations: 198.6 kB / 1.002 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1736, allocations: 5.375 kB / 1.002 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.067e-05/0.1737, allocations: 84.16 kB / 1.002 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007239/0.1744, allocations: 282.7 kB / 1.003 GB, free: 12.59 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.1762, allocations: 1.527 MB / 1.004 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.1763, allocations: 217.4 kB / 1.004 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002737/0.1766, allocations: 141.3 kB / 1.004 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.615e-05/0.1767, allocations: 52.48 kB / 1.004 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of SimCode: time 5.71e-07/0.1767, allocations: 3.938 kB / 1.004 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of Templates: time 0.01544/0.1921, allocations: 12.25 MB / 1.016 GB, free: 14.62 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.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.41503446502611]