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.001475/0.001475, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001687/0.001687, allocations: 181 kB / 24.09 MB, free: 416 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.9261/0.9261, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.774/1.774, allocations: 377.9 MB / 0.624 GB, free: 8.426 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.533e-06/1.533e-06, allocations: 0 / 0.812 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.276e-05/1.43e-05, allocations: 3.969 kB / 0.812 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1466/0.1466, allocations: 158.7 MB / 0.967 GB, free: 2.273 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.007689/0.1543, allocations: 5.416 MB / 0.9723 GB, free: 12.84 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/0.1559, allocations: 79.31 kB / 0.9723 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001303/0.1572, allocations: 0.5701 MB / 0.9729 GB, free: 12.19 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.00268/0.1599, allocations: 1.247 MB / 0.9741 GB, free: 10.94 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.003089/0.1629, allocations: 1.682 MB / 0.9757 GB, free: 9.25 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.003137/0.1661, allocations: 2.708 MB / 0.9784 GB, free: 6.535 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001722/0.1678, allocations: 0.9934 MB / 0.9794 GB, free: 5.504 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002034/0.1698, allocations: 1.465 MB / 0.9808 GB, free: 4.035 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.171, allocations: 0.8024 MB / 0.9816 GB, free: 3.23 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001898/0.1711, allocations: 112 kB / 0.9817 GB, free: 3.121 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00192/0.1731, allocations: 1.009 MB / 0.9827 GB, free: 2.109 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003186/0.1734, allocations: 402.7 kB / 0.9831 GB, free: 1.715 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0004789/0.1739, allocations: 439 kB / 0.9835 GB, free: 1.285 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.002096/0.176, allocations: 1.495 MB / 0.9849 GB, free: 15.79 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.176, allocations: 0 / 0.9849 GB, free: 15.79 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.673e-06/0.176, allocations: 0 / 0.9849 GB, free: 15.79 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.792e-05/0.176, allocations: 0 / 0.9849 GB, free: 15.79 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.002029/0.178, allocations: 1.533 MB / 0.9864 GB, free: 14.21 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1781, allocations: 8.031 kB / 0.9864 GB, free: 14.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007404/0.1788, allocations: 338.6 kB / 0.9868 GB, free: 13.87 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000974/0.1798, allocations: 0.9093 MB / 0.9876 GB, free: 12.93 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/0.1799, allocations: 291.6 kB / 0.9879 GB, free: 12.59 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.543e-05/0.18, allocations: 92 kB / 0.988 GB, free: 12.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007065/0.1807, allocations: 0.6492 MB / 0.9886 GB, free: 11.81 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.1807, allocations: 0 / 0.9886 GB, free: 11.81 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.1808, allocations: 36 kB / 0.9887 GB, free: 11.77 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.1808, allocations: 20 kB / 0.9887 GB, free: 11.75 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003185/0.1811, allocations: 233.7 kB / 0.9889 GB, free: 11.52 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.00257/0.1837, allocations: 2.866 MB / 0.9917 GB, free: 8.582 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.1839, allocations: 79 kB / 0.9918 GB, free: 8.492 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.765e-05/0.1839, allocations: 51.81 kB / 0.9918 GB, free: 8.438 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002265/0.1841, allocations: 115 kB / 0.992 GB, free: 8.332 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.1842, allocations: 41.39 kB / 0.992 GB, free: 8.281 MB / 0.948 GB Notification: Performance of pre-optimization done (n=24): time 1.313e-06/0.1842, allocations: 0 / 0.992 GB, free: 8.281 MB / 0.948 GB Notification: Performance of matching and sorting (n=24): time 0.0004689/0.1846, allocations: 247.5 kB / 0.9922 GB, free: 8.035 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.1847, allocations: 55.34 kB / 0.9923 GB, free: 7.969 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005383/0.1852, allocations: 0.6669 MB / 0.9929 GB, free: 7.285 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.1852, allocations: 33.7 kB / 0.993 GB, free: 7.246 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006046/0.1859, allocations: 0.6114 MB / 0.9936 GB, free: 6.625 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.201e-05/0.1859, allocations: 95.2 kB / 0.9937 GB, free: 6.531 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.186, allocations: 99.77 kB / 0.9938 GB, free: 6.426 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1861, allocations: 0.4887 MB / 0.9942 GB, free: 5.93 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.375e-05/0.1862, allocations: 36.91 kB / 0.9943 GB, free: 5.895 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003394/0.1865, allocations: 0.728 MB / 0.995 GB, free: 4.93 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.1868, allocations: 370.8 kB / 0.9953 GB, free: 4.449 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1868, allocations: 7.938 kB / 0.9953 GB, free: 4.441 MB / 0.948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003981/0.1872, allocations: 352.5 kB / 0.9957 GB, free: 4.09 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1872, allocations: 8.688 kB / 0.9957 GB, free: 4.082 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.1872, allocations: 4 kB / 0.9957 GB, free: 4.078 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.1872, allocations: 16 kB / 0.9957 GB, free: 4.062 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.1874, allocations: 87.89 kB / 0.9958 GB, free: 3.977 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.1874, allocations: 15.88 kB / 0.9958 GB, free: 3.961 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.1877, allocations: 51.66 kB / 0.9958 GB, free: 3.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.1877, allocations: 20 kB / 0.9959 GB, free: 3.891 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.0001575/0.1879, allocations: 188.4 kB / 0.996 GB, free: 3.695 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.231e-05/0.1879, allocations: 83.48 kB / 0.9961 GB, free: 3.613 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003317/0.1883, allocations: 269.7 kB / 0.9964 GB, free: 3.34 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.1883, allocations: 0 / 0.9964 GB, free: 3.34 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.1883, allocations: 11.88 kB / 0.9964 GB, free: 3.328 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.1883, allocations: 0 / 0.9964 GB, free: 3.328 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.1893, allocations: 0.9757 MB / 0.9973 GB, free: 2.242 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.1893, allocations: 4 kB / 0.9974 GB, free: 2.238 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.473e-05/0.1894, allocations: 39.92 kB / 0.9974 GB, free: 2.199 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.1894, allocations: 4 kB / 0.9974 GB, free: 2.195 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.1894, allocations: 12 kB / 0.9974 GB, free: 2.184 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/0.1894, allocations: 11.92 kB / 0.9974 GB, free: 2.172 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.1894, allocations: 12.44 kB / 0.9974 GB, free: 2.16 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.1898, allocations: 0.5014 MB / 0.9979 GB, free: 1.562 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.1899, allocations: 115.4 kB / 0.998 GB, free: 1.449 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/0.1899, allocations: 15.94 kB / 0.998 GB, free: 1.434 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.1901, allocations: 4 kB / 0.998 GB, free: 1.43 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.1901, allocations: 27.97 kB / 0.9981 GB, free: 1.402 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.1901, allocations: 20 kB / 0.9981 GB, free: 1.383 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000273/0.1904, allocations: 422.7 kB / 0.9985 GB, free: 0.9727 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.1904, allocations: 4 kB / 0.9985 GB, free: 0.9688 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000643/0.191, allocations: 307 kB / 0.9988 GB, free: 0.668 MB / 0.948 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.0003364/0.1914, allocations: 246.1 kB / 0.999 GB, free: 432 kB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002503/0.1916, allocations: 191.2 kB / 0.9992 GB, free: 240 kB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1916, allocations: 0 / 0.9992 GB, free: 240 kB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.291e-05/0.1917, allocations: 81.08 kB / 0.9993 GB, free: 156 kB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007731/0.1925, allocations: 283.3 kB / 0.9996 GB, free: 15.88 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.1946, allocations: 1.531 MB / 1.001 GB, free: 14.23 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.1948, allocations: 217.3 kB / 1.001 GB, free: 13.99 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0003121/0.1951, allocations: 110.7 kB / 1.001 GB, free: 13.89 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003888/0.1955, allocations: 290 kB / 1.002 GB, free: 13.61 MB / 0.9636 GB Notification: Performance of SimCode: time 8.81e-07/0.1955, allocations: 0 / 1.002 GB, free: 13.61 MB / 0.9636 GB Notification: Performance of Templates: time 0.01711/0.2126, allocations: 12.28 MB / 1.014 GB, free: 1.664 MB / 0.9636 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.311246256809682]