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.0009701/0.0009701, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001056/0.001056, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9557/0.9557, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.91/1.91, allocations: 377.8 MB / 0.6236 GB, free: 8.559 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.743e-06/1.743e-06, allocations: 0 / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.059e-05/3.233e-05, allocations: 9.938 kB / 0.8116 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1539/0.154, allocations: 161.6 MB / 0.9694 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.005342/0.1593, allocations: 5.434 MB / 0.9747 GB, free: 10.14 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000466/0.1598, allocations: 79.31 kB / 0.9748 GB, free: 10.06 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.1608, allocations: 0.574 MB / 0.9753 GB, free: 9.48 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.001433/0.1622, allocations: 1.239 MB / 0.9765 GB, free: 8.234 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002131/0.1644, allocations: 1.682 MB / 0.9782 GB, free: 6.547 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001883/0.1662, allocations: 2.701 MB / 0.9808 GB, free: 3.836 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009658/0.1672, allocations: 1.001 MB / 0.9818 GB, free: 2.797 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.1684, allocations: 1.403 MB / 0.9832 GB, free: 1.391 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007285/0.1691, allocations: 0.8141 MB / 0.9839 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.1692, allocations: 108 kB / 0.984 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.1704, allocations: 1.075 MB / 0.9851 GB, free: 15.39 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002583/0.1707, allocations: 406.7 kB / 0.9855 GB, free: 14.99 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003231/0.171, allocations: 447 kB / 0.9859 GB, free: 14.55 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.1724, allocations: 1.522 MB / 0.9874 GB, free: 13.03 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1724, allocations: 4 kB / 0.9874 GB, free: 13.02 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1724, allocations: 0 / 0.9874 GB, free: 13.02 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.1724, allocations: 0 / 0.9874 GB, free: 13.02 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.001396/0.1738, allocations: 1.533 MB / 0.9889 GB, free: 11.45 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1739, allocations: 8.031 kB / 0.9889 GB, free: 11.44 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007131/0.1746, allocations: 342.6 kB / 0.9892 GB, free: 11.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009708/0.1756, allocations: 0.9327 MB / 0.9901 GB, free: 10.14 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.1757, allocations: 291.6 kB / 0.9904 GB, free: 9.805 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.911e-05/0.1758, allocations: 95.94 kB / 0.9905 GB, free: 9.711 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008191/0.1766, allocations: 0.6845 MB / 0.9912 GB, free: 8.98 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.1766, allocations: 3.984 kB / 0.9912 GB, free: 8.977 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.705e-05/0.1767, allocations: 40 kB / 0.9912 GB, free: 8.938 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.1767, allocations: 24 kB / 0.9912 GB, free: 8.914 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000488/0.1772, allocations: 307.7 kB / 0.9915 GB, free: 8.609 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.002398/0.1796, allocations: 3.006 MB / 0.9945 GB, free: 5.52 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.1798, allocations: 87.11 kB / 0.9946 GB, free: 5.422 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.736e-05/0.1799, allocations: 59.72 kB / 0.9946 GB, free: 5.359 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002351/0.1801, allocations: 87.94 kB / 0.9947 GB, free: 5.273 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.1801, allocations: 41.39 kB / 0.9947 GB, free: 5.223 MB / 0.948 GB Notification: Performance of pre-optimization done (n=24): time 1.873e-06/0.1801, allocations: 0 / 0.9947 GB, free: 5.223 MB / 0.948 GB Notification: Performance of matching and sorting (n=24): time 0.0005233/0.1807, allocations: 279.2 kB / 0.995 GB, free: 4.945 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.1807, allocations: 55.41 kB / 0.9951 GB, free: 4.879 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005656/0.1813, allocations: 0.6751 MB / 0.9957 GB, free: 4.191 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.1813, allocations: 33.7 kB / 0.9958 GB, free: 4.152 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002933/0.1816, allocations: 0.6037 MB / 0.9963 GB, free: 3.539 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.89e-05/0.1816, allocations: 91.22 kB / 0.9964 GB, free: 3.449 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.1817, allocations: 99.8 kB / 0.9965 GB, free: 3.344 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1819, allocations: 0.4926 MB / 0.997 GB, free: 2.844 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.684e-05/0.182, allocations: 52.91 kB / 0.9971 GB, free: 2.793 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/0.1823, allocations: 0.7319 MB / 0.9978 GB, free: 1.824 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/0.1826, allocations: 386.8 kB / 0.9981 GB, free: 1.328 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1826, allocations: 0 / 0.9981 GB, free: 1.328 MB / 0.948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004502/0.1831, allocations: 376.7 kB / 0.9985 GB, free: 0.9531 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1831, allocations: 8 kB / 0.9985 GB, free: 0.9453 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1831, allocations: 4 kB / 0.9985 GB, free: 0.9414 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.1831, allocations: 15.94 kB / 0.9985 GB, free: 0.9258 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.1833, allocations: 91.83 kB / 0.9986 GB, free: 0.8359 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.1834, allocations: 11.94 kB / 0.9986 GB, free: 0.8242 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.1836, allocations: 48.22 kB / 0.9987 GB, free: 0.7773 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.1836, allocations: 24 kB / 0.9987 GB, free: 0.7539 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.0001612/0.1838, allocations: 192.4 kB / 0.9989 GB, free: 0.5547 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.443e-05/0.1839, allocations: 83.48 kB / 0.999 GB, free: 484 kB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003597/0.1842, allocations: 274 kB / 0.9992 GB, free: 200 kB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.1842, allocations: 7.938 kB / 0.9992 GB, free: 192 kB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1842, allocations: 0 / 0.9992 GB, free: 192 kB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.1842, allocations: 4 kB / 0.9992 GB, free: 188 kB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.1853, allocations: 1.132 MB / 1 GB, free: 14.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.1853, allocations: 12.03 kB / 1 GB, free: 14.92 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.672e-05/0.1854, allocations: 43.92 kB / 1 GB, free: 14.88 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.1854, allocations: 4 kB / 1 GB, free: 14.88 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.1855, allocations: 11.98 kB / 1 GB, free: 14.86 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.309e-06/0.1855, allocations: 7.938 kB / 1 GB, free: 14.86 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.1855, allocations: 11.94 kB / 1 GB, free: 14.84 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.1858, allocations: 0.5084 MB / 1.001 GB, free: 14.24 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.1859, allocations: 119.4 kB / 1.001 GB, free: 14.12 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.186, allocations: 15.94 kB / 1.001 GB, free: 14.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.1861, allocations: 4 kB / 1.001 GB, free: 14.11 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.1862, allocations: 31.84 kB / 1.001 GB, free: 14.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.1862, allocations: 19.98 kB / 1.001 GB, free: 14.05 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0003517/0.1865, allocations: 438.9 kB / 1.002 GB, free: 13.63 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.1865, allocations: 0 / 1.002 GB, free: 13.63 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000573/0.1871, allocations: 323 kB / 1.002 GB, free: 13.31 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.0003308/0.1874, allocations: 269.8 kB / 1.002 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003088/0.1878, allocations: 201.2 kB / 1.002 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1878, allocations: 0 / 1.002 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.859e-05/0.1879, allocations: 83.72 kB / 1.002 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000787/0.1886, allocations: 280.9 kB / 1.003 GB, free: 12.49 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.1903, allocations: 1.527 MB / 1.004 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.1905, allocations: 217.4 kB / 1.004 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002809/0.1907, allocations: 142.7 kB / 1.004 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.169e-05/0.1908, allocations: 48.5 kB / 1.005 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of SimCode: time 5.21e-07/0.1908, allocations: 0 / 1.005 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of Templates: time 0.01396/0.2048, allocations: 11.4 MB / 1.016 GB, free: 15.3 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.696261018048972]