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.0009675/0.0009675, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001059/0.001059, allocations: 161 kB / 24.17 MB, free: 332 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 1.021/1.021, allocations: 177.1 MB / 204.6 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.897/1.897, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.713e-06/1.713e-06, allocations: 0 / 0.7601 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.186e-05, allocations: 6.25 kB / 0.7601 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1728/0.1728, allocations: 160.9 MB / 0.9172 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.006029/0.1789, allocations: 5.522 MB / 0.9226 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004979/0.1794, allocations: 79.31 kB / 0.9227 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.1806, allocations: 0.5623 MB / 0.9232 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.1821, allocations: 1.258 MB / 0.9245 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.00223/0.1843, allocations: 1.671 MB / 0.9261 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.00196/0.1863, allocations: 2.705 MB / 0.9287 GB, free: 9.438 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009418/0.1873, allocations: 0.9718 MB / 0.9297 GB, free: 8.41 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.1887, allocations: 1.414 MB / 0.9311 GB, free: 6.992 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007286/0.1894, allocations: 0.7751 MB / 0.9318 GB, free: 6.215 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.1896, allocations: 108 kB / 0.9319 GB, free: 6.109 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.1908, allocations: 1.017 MB / 0.9329 GB, free: 5.09 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0002417/0.1911, allocations: 406.7 kB / 0.9333 GB, free: 4.691 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0002994/0.1914, allocations: 435 kB / 0.9337 GB, free: 4.266 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001251/0.1926, allocations: 1.495 MB / 0.9352 GB, free: 2.766 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1926, allocations: 0 / 0.9352 GB, free: 2.766 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1926, allocations: 4 kB / 0.9352 GB, free: 2.762 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.1927, allocations: 0 / 0.9352 GB, free: 2.762 MB / 0.8855 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.001112/0.1938, allocations: 1.381 MB / 0.9365 GB, free: 1.352 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.1938, allocations: 11.97 kB / 0.9365 GB, free: 1.34 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006262/0.1944, allocations: 299.3 kB / 0.9368 GB, free: 1.047 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.1954, allocations: 0.7271 MB / 0.9375 GB, free: 296 kB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.1956, allocations: 291.6 kB / 0.9378 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.768e-05/0.1957, allocations: 92 kB / 0.9379 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005882/0.1963, allocations: 0.6388 MB / 0.9385 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.1963, allocations: 3.938 kB / 0.9385 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.923e-05/0.1963, allocations: 36 kB / 0.9386 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.1963, allocations: 20 kB / 0.9386 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002962/0.1966, allocations: 238.2 kB / 0.9388 GB, free: 14.89 MB / 0.9011 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.001823/0.1984, allocations: 2.169 MB / 0.9409 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.1986, allocations: 108.1 kB / 0.941 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.647e-05/0.1987, allocations: 51.66 kB / 0.9411 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001914/0.1988, allocations: 99.92 kB / 0.9412 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.1989, allocations: 34.59 kB / 0.9412 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=24): time 1.232e-06/0.1989, allocations: 0 / 0.9412 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of matching and sorting (n=24): time 0.0003781/0.1992, allocations: 201.4 kB / 0.9414 GB, free: 12.15 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.1993, allocations: 59.39 kB / 0.9415 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003989/0.1997, allocations: 0.5895 MB / 0.942 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.1997, allocations: 37.69 kB / 0.9421 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.1999, allocations: 473.4 kB / 0.9425 GB, free: 10.97 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.1999, allocations: 79.27 kB / 0.9426 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.2, allocations: 102.1 kB / 0.9427 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.508e-05/0.2001, allocations: 325.9 kB / 0.943 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.183e-05/0.2002, allocations: 35.81 kB / 0.943 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/0.2004, allocations: 0.6207 MB / 0.9436 GB, free: 9.609 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004504/0.2009, allocations: 317.7 kB / 0.944 GB, free: 9.207 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2009, allocations: 3.938 kB / 0.944 GB, free: 9.203 MB / 0.9011 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003126/0.2012, allocations: 292.6 kB / 0.9442 GB, free: 8.906 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2012, allocations: 8 kB / 0.9442 GB, free: 8.898 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.2012, allocations: 8 kB / 0.9442 GB, free: 8.891 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.2012, allocations: 12 kB / 0.9443 GB, free: 8.879 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.2015, allocations: 91.83 kB / 0.9443 GB, free: 8.789 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.2015, allocations: 23.86 kB / 0.9444 GB, free: 8.766 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.2017, allocations: 47.98 kB / 0.9444 GB, free: 8.719 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.2017, allocations: 27.98 kB / 0.9444 GB, free: 8.691 MB / 0.9011 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.0001422/0.2019, allocations: 148.5 kB / 0.9446 GB, free: 8.535 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.566e-05/0.2019, allocations: 47.95 kB / 0.9446 GB, free: 8.488 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002787/0.2022, allocations: 231.2 kB / 0.9449 GB, free: 8.258 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.2022, allocations: 7.984 kB / 0.9449 GB, free: 8.25 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.2022, allocations: 0 / 0.9449 GB, free: 8.25 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2022, allocations: 7.938 kB / 0.9449 GB, free: 8.242 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008538/0.2031, allocations: 0.9218 MB / 0.9458 GB, free: 7.219 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.2031, allocations: 8.094 kB / 0.9458 GB, free: 7.211 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.539e-05/0.2031, allocations: 39.92 kB / 0.9458 GB, free: 7.172 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.2031, allocations: 8 kB / 0.9458 GB, free: 7.164 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.2032, allocations: 8 kB / 0.9458 GB, free: 7.156 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.2032, allocations: 8 kB / 0.9458 GB, free: 7.148 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.2032, allocations: 7.938 kB / 0.9458 GB, free: 7.141 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.2034, allocations: 456.7 kB / 0.9463 GB, free: 6.602 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.2035, allocations: 91.39 kB / 0.9464 GB, free: 6.512 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.2036, allocations: 19.98 kB / 0.9464 GB, free: 6.492 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.2037, allocations: 11.98 kB / 0.9464 GB, free: 6.48 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.2038, allocations: 31.84 kB / 0.9464 GB, free: 6.449 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.2038, allocations: 8 kB / 0.9464 GB, free: 6.441 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002112/0.204, allocations: 292.5 kB / 0.9467 GB, free: 6.156 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.204, allocations: 0 / 0.9467 GB, free: 6.156 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004893/0.2045, allocations: 318.9 kB / 0.947 GB, free: 5.844 MB / 0.9011 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.0002759/0.2047, allocations: 223.9 kB / 0.9472 GB, free: 5.613 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.205, allocations: 182.5 kB / 0.9474 GB, free: 5.434 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/0.205, allocations: 8 kB / 0.9474 GB, free: 5.426 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 7.713e-05/0.2051, allocations: 72.95 kB / 0.9475 GB, free: 5.352 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006863/0.2057, allocations: 286.1 kB / 0.9478 GB, free: 5.082 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.2073, allocations: 1.493 MB / 0.9492 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.2074, allocations: 209.8 kB / 0.9494 GB, free: 3.262 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002535/0.2077, allocations: 106.3 kB / 0.9495 GB, free: 3.16 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003582/0.208, allocations: 243.1 kB / 0.9497 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of SimCode: time 1.152e-06/0.208, allocations: 0 / 0.9497 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of Templates: time 0.0154/0.2234, allocations: 12.29 MB / 0.9617 GB, free: 6.977 MB / 0.9167 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 -s gbode -gbm=radauIIA3 -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.383321565110236]