Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001032/0.001032, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.0009997/0.0009997, allocations: 177 kB / 23.36 MB, free: 1.133 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.9306/0.9306, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.356/2.356, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.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_latest_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_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.162e-05/1.295e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1498/0.1498, allocations: 161.1 MB / 0.9959 GB, free: 12.53 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00871/0.1585, allocations: 6.666 MB / 1.002 GB, free: 5.844 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006928/0.1592, allocations: 91.25 kB / 1.002 GB, free: 5.754 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.1604, allocations: 0.57 MB / 1.003 GB, free: 5.18 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001936/0.1623, allocations: 1.289 MB / 1.004 GB, free: 3.883 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.00328/0.1656, allocations: 2.15 MB / 1.006 GB, free: 1.73 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.002635/0.1682, allocations: 2.837 MB / 1.009 GB, free: 14.88 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.1693, allocations: 1.022 MB / 1.01 GB, free: 13.81 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00159/0.1709, allocations: 1.555 MB / 1.012 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008627/0.1717, allocations: 0.775 MB / 1.012 GB, free: 11.48 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.1719, allocations: 112 kB / 1.013 GB, free: 11.37 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.1731, allocations: 1.001 MB / 1.014 GB, free: 10.36 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0003232/0.1735, allocations: 426.5 kB / 1.014 GB, free: 9.945 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0004269/0.1739, allocations: 466.9 kB / 1.014 GB, free: 9.488 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001821/0.1757, allocations: 1.549 MB / 1.016 GB, free: 7.934 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1757, allocations: 4 kB / 1.016 GB, free: 7.93 MB / 0.9792 GB Notification: Performance of FrontEnd: time 9.72e-07/0.1757, allocations: 0 / 1.016 GB, free: 7.93 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.1757, allocations: 0 / 1.016 GB, free: 7.93 MB / 0.9792 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.001464/0.1772, allocations: 1.506 MB / 1.017 GB, free: 6.391 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1772, allocations: 12.62 kB / 1.017 GB, free: 6.379 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007536/0.178, allocations: 303.3 kB / 1.018 GB, free: 6.082 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.1791, allocations: 0.8013 MB / 1.018 GB, free: 5.238 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/0.1793, allocations: 300.1 kB / 1.019 GB, free: 4.898 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.1794, allocations: 100 kB / 1.019 GB, free: 4.801 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007541/0.1801, allocations: 0.6504 MB / 1.019 GB, free: 4.109 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.1801, allocations: 0 / 1.019 GB, free: 4.109 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.551e-05/0.1802, allocations: 36 kB / 1.02 GB, free: 4.074 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.834e-05/0.1802, allocations: 20 kB / 1.02 GB, free: 4.055 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003746/0.1806, allocations: 238.2 kB / 1.02 GB, free: 3.82 MB / 0.9792 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.002395/0.183, allocations: 2.223 MB / 1.022 GB, free: 1.539 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.1832, allocations: 112.1 kB / 1.022 GB, free: 1.418 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.658e-05/0.1832, allocations: 55.12 kB / 1.022 GB, free: 1.363 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002205/0.1834, allocations: 99.92 kB / 1.022 GB, free: 1.266 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.1835, allocations: 38.55 kB / 1.022 GB, free: 1.219 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=24): time 1.543e-06/0.1835, allocations: 0 / 1.022 GB, free: 1.219 MB / 0.9792 GB Notification: Performance of matching and sorting (n=24): time 0.0004643/0.1839, allocations: 201.3 kB / 1.022 GB, free: 1.016 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.184, allocations: 59.41 kB / 1.022 GB, free: 0.9453 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006981/0.1847, allocations: 0.7159 MB / 1.023 GB, free: 212 kB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.1847, allocations: 41.64 kB / 1.023 GB, free: 164 kB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.1849, allocations: 0.4901 MB / 1.024 GB, free: 15.66 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.1849, allocations: 95.19 kB / 1.024 GB, free: 15.57 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.1851, allocations: 154.5 kB / 1.024 GB, free: 15.41 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.716e-05/0.1851, allocations: 337.9 kB / 1.024 GB, free: 15.08 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-05/0.1852, allocations: 56.8 kB / 1.024 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003586/0.1856, allocations: 0.861 MB / 1.025 GB, free: 13.86 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003778/0.186, allocations: 0.6133 MB / 1.026 GB, free: 13.04 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.186, allocations: 4 kB / 1.026 GB, free: 13.04 MB / 0.9948 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0004572/0.1864, allocations: 492.7 kB / 1.026 GB, free: 12.54 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1864, allocations: 12 kB / 1.026 GB, free: 12.53 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.1864, allocations: 16 kB / 1.026 GB, free: 12.52 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.1865, allocations: 16 kB / 1.026 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.1867, allocations: 159.7 kB / 1.026 GB, free: 12.34 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.1867, allocations: 31.86 kB / 1.026 GB, free: 12.31 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.187, allocations: 83.78 kB / 1.027 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.105e-05/0.187, allocations: 47.98 kB / 1.027 GB, free: 12.18 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (84): * Single equations (assignments): 84 * 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.0001573/0.1872, allocations: 168.3 kB / 1.027 GB, free: 12.01 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.1873, allocations: 51.94 kB / 1.027 GB, free: 11.96 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.1875, allocations: 229.8 kB / 1.027 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.1875, allocations: 4 kB / 1.027 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.1875, allocations: 0 / 1.027 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1875, allocations: 7.922 kB / 1.027 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000843/0.1884, allocations: 0.9493 MB / 1.028 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.1884, allocations: 12.09 kB / 1.028 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.45e-05/0.1885, allocations: 35.92 kB / 1.028 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.1885, allocations: 8 kB / 1.028 GB, free: 10.6 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.1885, allocations: 15.98 kB / 1.028 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.1885, allocations: 7.938 kB / 1.028 GB, free: 10.58 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.1885, allocations: 4 kB / 1.028 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.1888, allocations: 459.9 kB / 1.028 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.1889, allocations: 115.5 kB / 1.029 GB, free: 9.922 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.598e-05/0.1889, allocations: 12 kB / 1.029 GB, free: 9.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.1891, allocations: 8 kB / 1.029 GB, free: 9.902 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.1891, allocations: 31.83 kB / 1.029 GB, free: 9.871 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.1891, allocations: 19.98 kB / 1.029 GB, free: 9.852 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002338/0.1893, allocations: 338 kB / 1.029 GB, free: 9.508 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.1893, allocations: 0 / 1.029 GB, free: 9.508 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0008083/0.1901, allocations: 338.9 kB / 1.029 GB, free: 9.176 MB / 0.9948 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.000282/0.1904, allocations: 227.9 kB / 1.029 GB, free: 8.945 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002722/0.1907, allocations: 268.9 kB / 1.03 GB, free: 8.684 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/0.1907, allocations: 12 kB / 1.03 GB, free: 8.672 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 7.315e-05/0.1908, allocations: 67.08 kB / 1.03 GB, free: 8.605 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006334/0.1914, allocations: 283 kB / 1.03 GB, free: 8.332 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.193, allocations: 1.622 MB / 1.032 GB, free: 6.613 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.1931, allocations: 210.1 kB / 1.032 GB, free: 6.387 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002636/0.1934, allocations: 132.6 kB / 1.032 GB, free: 6.262 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003536/0.1938, allocations: 263.1 kB / 1.032 GB, free: 6.004 MB / 0.9948 GB Notification: Performance of SimCode: time 7.41e-07/0.1938, allocations: 0 / 1.032 GB, free: 6.004 MB / 0.9948 GB Notification: Performance of Templates: time 0.01531/0.2091, allocations: 12.55 MB / 1.045 GB, free: 9.766 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.070080501958728]