Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00135/0.00135, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001442/0.001442, allocations: 162.2 kB / 24.86 MB, free: 9.289 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.9535/0.9535, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.799/1.799, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.926e-05/3.101e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.144/0.144, allocations: 158.6 MB / 0.9432 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.006849/0.1509, allocations: 5.414 MB / 0.9485 GB, free: 7.602 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009131/0.1518, allocations: 79.31 kB / 0.9486 GB, free: 7.523 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.1529, allocations: 0.5662 MB / 0.9492 GB, free: 6.953 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002142/0.1551, allocations: 1.247 MB / 0.9504 GB, free: 5.699 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002865/0.1579, allocations: 1.694 MB / 0.952 GB, free: 4 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002426/0.1603, allocations: 2.713 MB / 0.9547 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009236/0.1613, allocations: 1.005 MB / 0.9557 GB, free: 244 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/0.1625, allocations: 1.465 MB / 0.9571 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007257/0.1632, allocations: 0.8219 MB / 0.9579 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 9.983e-05/0.1633, allocations: 108 kB / 0.958 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.1646, allocations: 1.005 MB / 0.959 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003928/0.165, allocations: 402.7 kB / 0.9594 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003076/0.1653, allocations: 447 kB / 0.9598 GB, free: 12 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.1666, allocations: 1.491 MB / 0.9612 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1666, allocations: 0 / 0.9612 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1666, allocations: 3.938 kB / 0.9612 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.1666, allocations: 0 / 0.9612 GB, free: 10.5 MB / 0.9167 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.001237/0.1679, allocations: 1.533 MB / 0.9627 GB, free: 8.922 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.1679, allocations: 16.02 kB / 0.9628 GB, free: 8.906 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006347/0.1685, allocations: 330.7 kB / 0.9631 GB, free: 8.582 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008599/0.1694, allocations: 0.9132 MB / 0.964 GB, free: 7.641 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.1695, allocations: 291.6 kB / 0.9642 GB, free: 7.305 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-05/0.1696, allocations: 88 kB / 0.9643 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006147/0.1702, allocations: 0.6414 MB / 0.965 GB, free: 6.531 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.1702, allocations: 3.938 kB / 0.965 GB, free: 6.527 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.385e-05/0.1703, allocations: 36 kB / 0.965 GB, free: 6.492 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.1703, allocations: 24 kB / 0.965 GB, free: 6.469 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002989/0.1706, allocations: 241.7 kB / 0.9652 GB, free: 6.23 MB / 0.9167 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.002216/0.1728, allocations: 2.85 MB / 0.968 GB, free: 3.305 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.173, allocations: 83.16 kB / 0.9681 GB, free: 3.211 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.77e-05/0.173, allocations: 47.66 kB / 0.9682 GB, free: 3.156 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/0.1732, allocations: 95.94 kB / 0.9682 GB, free: 3.062 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.1732, allocations: 45.38 kB / 0.9683 GB, free: 3.008 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=24): time 1.613e-06/0.1733, allocations: 3.938 kB / 0.9683 GB, free: 3.004 MB / 0.9167 GB Notification: Performance of matching and sorting (n=24): time 0.0004352/0.1737, allocations: 244.9 kB / 0.9685 GB, free: 2.758 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.1737, allocations: 63.28 kB / 0.9686 GB, free: 2.684 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004439/0.1742, allocations: 0.663 MB / 0.9692 GB, free: 2.004 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.1742, allocations: 37.69 kB / 0.9693 GB, free: 1.961 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/0.1745, allocations: 0.6076 MB / 0.9699 GB, free: 1.344 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.1745, allocations: 95.16 kB / 0.97 GB, free: 1.25 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.1746, allocations: 99.77 kB / 0.97 GB, free: 1.145 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1747, allocations: 0.5004 MB / 0.9705 GB, free: 0.6367 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.929e-05/0.1748, allocations: 28.97 kB / 0.9706 GB, free: 0.6094 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/0.1751, allocations: 0.7279 MB / 0.9713 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.1754, allocations: 370.8 kB / 0.9716 GB, free: 15.16 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1754, allocations: 4 kB / 0.9716 GB, free: 15.16 MB / 0.9323 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003879/0.1758, allocations: 353.2 kB / 0.972 GB, free: 14.81 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1758, allocations: 9.719 kB / 0.972 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.1758, allocations: 8.047 kB / 0.972 GB, free: 14.79 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1758, allocations: 11.98 kB / 0.972 GB, free: 14.78 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.176, allocations: 91.83 kB / 0.9721 GB, free: 14.69 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.176, allocations: 11.94 kB / 0.9721 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/0.1762, allocations: 43.73 kB / 0.9721 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.1762, allocations: 31.98 kB / 0.9722 GB, free: 14.61 MB / 0.9323 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.0001528/0.1764, allocations: 192.5 kB / 0.9724 GB, free: 14.41 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.257e-05/0.1765, allocations: 83.48 kB / 0.9724 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003167/0.1768, allocations: 266.9 kB / 0.9727 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.1768, allocations: 7.984 kB / 0.9727 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.1768, allocations: 3.938 kB / 0.9727 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1768, allocations: 0 / 0.9727 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.1779, allocations: 0.964 MB / 0.9736 GB, free: 12.96 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.1779, allocations: 4 kB / 0.9736 GB, free: 12.96 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.432e-05/0.178, allocations: 40.48 kB / 0.9737 GB, free: 12.92 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.178, allocations: 8 kB / 0.9737 GB, free: 12.91 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.178, allocations: 12 kB / 0.9737 GB, free: 12.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.178, allocations: 11.94 kB / 0.9737 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.178, allocations: 4 kB / 0.9737 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.1783, allocations: 0.5213 MB / 0.9742 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.1784, allocations: 111.4 kB / 0.9743 GB, free: 12.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.953e-05/0.1785, allocations: 15.98 kB / 0.9743 GB, free: 12.14 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.1786, allocations: 4 kB / 0.9744 GB, free: 12.14 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.1786, allocations: 35.84 kB / 0.9744 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.1787, allocations: 16 kB / 0.9744 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002519/0.1789, allocations: 418.7 kB / 0.9748 GB, free: 11.68 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.1789, allocations: 0 / 0.9748 GB, free: 11.68 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0005153/0.1794, allocations: 311 kB / 0.9751 GB, free: 11.38 MB / 0.9323 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.0002881/0.1797, allocations: 249.9 kB / 0.9753 GB, free: 11.13 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002395/0.1799, allocations: 184.2 kB / 0.9755 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1799, allocations: 0 / 0.9755 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 8.549e-05/0.18, allocations: 87.47 kB / 0.9756 GB, free: 10.86 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007568/0.1808, allocations: 282 kB / 0.9759 GB, free: 10.59 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.1823, allocations: 1.527 MB / 0.9774 GB, free: 8.941 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.1825, allocations: 213.7 kB / 0.9776 GB, free: 8.711 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002529/0.1827, allocations: 107.4 kB / 0.9777 GB, free: 8.609 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003619/0.1831, allocations: 282 kB / 0.9779 GB, free: 8.332 MB / 0.9323 GB Notification: Performance of SimCode: time 8.91e-07/0.1831, allocations: 0 / 0.9779 GB, free: 8.332 MB / 0.9323 GB Notification: Performance of Templates: time 0.01557/0.1987, allocations: 12.42 MB / 0.9901 GB, free: 12.25 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.48473638528958]