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.001051/0.001051, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001777/0.001777, allocations: 177.3 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 1.044/1.044, allocations: 177.1 MB / 203.8 MB, free: 5.512 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.484/2.484, allocations: 438.8 MB / 0.6826 GB, free: 13.61 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.703e-06/1.703e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.181e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1499/0.1499, allocations: 161.1 MB / 0.996 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.01058/0.1605, allocations: 6.67 MB / 1.002 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.162, allocations: 87.25 kB / 1.003 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001464/0.1635, allocations: 0.5778 MB / 1.003 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.00305/0.1666, allocations: 1.286 MB / 1.004 GB, free: 3.773 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.004073/0.1706, allocations: 2.122 MB / 1.006 GB, free: 1.645 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.003275/0.1739, allocations: 2.841 MB / 1.009 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/0.1752, allocations: 0.9756 MB / 1.01 GB, free: 13.77 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002231/0.1775, allocations: 1.5 MB / 1.012 GB, free: 12.27 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.1785, allocations: 0.7789 MB / 1.012 GB, free: 11.49 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.1787, allocations: 112 kB / 1.013 GB, free: 11.38 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.1805, allocations: 1.017 MB / 1.014 GB, free: 10.36 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0003263/0.1808, allocations: 426.5 kB / 1.014 GB, free: 9.941 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0004552/0.1813, allocations: 470.9 kB / 1.014 GB, free: 9.48 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001824/0.1831, allocations: 1.549 MB / 1.016 GB, free: 7.926 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1831, allocations: 0 / 1.016 GB, free: 7.926 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1831, allocations: 0 / 1.016 GB, free: 7.926 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.1831, allocations: 0 / 1.016 GB, free: 7.926 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.001559/0.1847, allocations: 1.506 MB / 1.017 GB, free: 6.387 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.1847, allocations: 8.625 kB / 1.017 GB, free: 6.379 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.1857, allocations: 311.3 kB / 1.018 GB, free: 6.074 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.1869, allocations: 0.7935 MB / 1.018 GB, free: 5.238 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000186/0.1871, allocations: 304 kB / 1.019 GB, free: 4.895 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.1872, allocations: 104 kB / 1.019 GB, free: 4.793 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008024/0.188, allocations: 0.6427 MB / 1.019 GB, free: 4.109 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.188, allocations: 0 / 1.019 GB, free: 4.109 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.326e-05/0.1881, allocations: 36 kB / 1.019 GB, free: 4.074 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/0.1881, allocations: 24 kB / 1.02 GB, free: 4.051 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003978/0.1885, allocations: 234.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.002699/0.1912, allocations: 2.227 MB / 1.022 GB, free: 1.531 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.1914, allocations: 116 kB / 1.022 GB, free: 1.406 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.551e-05/0.1915, allocations: 50.11 kB / 1.022 GB, free: 1.355 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000263/0.1917, allocations: 99.92 kB / 1.022 GB, free: 1.258 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.1918, allocations: 42.5 kB / 1.022 GB, free: 1.207 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=24): time 2.985e-06/0.1918, allocations: 0 / 1.022 GB, free: 1.207 MB / 0.9792 GB Notification: Performance of matching and sorting (n=24): time 0.0005815/0.1924, allocations: 209.2 kB / 1.022 GB, free: 0.9961 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.1924, allocations: 55.41 kB / 1.022 GB, free: 0.9297 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006818/0.1931, allocations: 0.712 MB / 1.023 GB, free: 200 kB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.1931, allocations: 45.7 kB / 1.023 GB, free: 148 kB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/0.1934, allocations: 0.4901 MB / 1.024 GB, free: 15.65 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.287e-05/0.1935, allocations: 91.19 kB / 1.024 GB, free: 15.56 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.1937, allocations: 162.5 kB / 1.024 GB, free: 15.39 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1938, allocations: 329.9 kB / 1.024 GB, free: 15.07 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.1939, allocations: 56.8 kB / 1.024 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008233/0.1948, allocations: 0.8575 MB / 1.025 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005919/0.1953, allocations: 0.6134 MB / 1.026 GB, free: 13.03 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/0.1954, allocations: 4 kB / 1.026 GB, free: 13.02 MB / 0.9948 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0007263/0.1961, allocations: 497 kB / 1.026 GB, free: 12.53 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.1961, allocations: 8 kB / 1.026 GB, free: 12.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.1961, allocations: 16 kB / 1.026 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.917e-05/0.1962, allocations: 20 kB / 1.026 GB, free: 12.48 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004879/0.1967, allocations: 171.7 kB / 1.026 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.961e-05/0.1967, allocations: 27.81 kB / 1.026 GB, free: 12.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005023/0.1972, allocations: 87.39 kB / 1.027 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.72e-05/0.1973, allocations: 36 kB / 1.027 GB, free: 12.17 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.0002895/0.1975, allocations: 172.5 kB / 1.027 GB, free: 11.99 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.789e-05/0.1976, allocations: 51.94 kB / 1.027 GB, free: 11.94 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004663/0.1981, allocations: 240.1 kB / 1.027 GB, free: 11.69 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.1981, allocations: 4 kB / 1.027 GB, free: 11.69 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.1981, allocations: 0 / 1.027 GB, free: 11.69 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.1981, allocations: 7.922 kB / 1.027 GB, free: 11.68 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.1995, allocations: 0.9372 MB / 1.028 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.1995, allocations: 4 kB / 1.028 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.1996, allocations: 44.47 kB / 1.028 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/0.1996, allocations: 12 kB / 1.028 GB, free: 10.58 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.1996, allocations: 16.06 kB / 1.028 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/0.1996, allocations: 7.938 kB / 1.028 GB, free: 10.56 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.1997, allocations: 4 kB / 1.028 GB, free: 10.55 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004299/0.2001, allocations: 468.2 kB / 1.028 GB, free: 10 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/0.2003, allocations: 107.3 kB / 1.029 GB, free: 9.898 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.798e-05/0.2003, allocations: 11.98 kB / 1.029 GB, free: 9.887 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.2006, allocations: 4 kB / 1.029 GB, free: 9.883 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/0.2006, allocations: 35.84 kB / 1.029 GB, free: 9.848 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.2006, allocations: 16 kB / 1.029 GB, free: 9.832 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000359/0.201, allocations: 341.9 kB / 1.029 GB, free: 9.484 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.4e-07/0.201, allocations: 0 / 1.029 GB, free: 9.484 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001076/0.2021, allocations: 338.9 kB / 1.029 GB, free: 9.152 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.0004048/0.2025, allocations: 220.2 kB / 1.029 GB, free: 8.93 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0004423/0.2029, allocations: 279.1 kB / 1.03 GB, free: 8.664 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.561e-05/0.2029, allocations: 8 kB / 1.03 GB, free: 8.656 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.203, allocations: 78.19 kB / 1.03 GB, free: 8.578 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009735/0.204, allocations: 282.1 kB / 1.03 GB, free: 8.305 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.2064, allocations: 1.622 MB / 1.032 GB, free: 6.586 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.2066, allocations: 210.1 kB / 1.032 GB, free: 6.359 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003838/0.207, allocations: 123.5 kB / 1.032 GB, free: 6.242 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004872/0.2075, allocations: 263.1 kB / 1.032 GB, free: 5.984 MB / 0.9948 GB Notification: Performance of SimCode: time 1.533e-06/0.2075, allocations: 0 / 1.032 GB, free: 5.984 MB / 0.9948 GB Notification: Performance of Templates: time 0.01898/0.2265, allocations: 12.56 MB / 1.045 GB, free: 9.742 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 -s gbode -gbm=radauIIA3 -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.320518569089472]