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.001197/0.001197, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001277/0.001277, allocations: 169 kB / 23.82 MB, free: 0.7383 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.9735/0.9735, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.764/1.764, allocations: 359 MB / 0.6052 GB, free: 11.02 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.703e-06/1.703e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.529e-05/1.699e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1429/0.1429, allocations: 161.6 MB / 0.9449 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00664/0.1496, allocations: 5.43 MB / 0.9502 GB, free: 4.938 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007283/0.1503, allocations: 79.31 kB / 0.9503 GB, free: 4.859 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.1514, allocations: 0.5701 MB / 0.9508 GB, free: 4.285 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.001936/0.1534, allocations: 1.251 MB / 0.9521 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0026/0.156, allocations: 1.678 MB / 0.9537 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002226/0.1582, allocations: 2.726 MB / 0.9564 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.1593, allocations: 0.9972 MB / 0.9573 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.1607, allocations: 1.469 MB / 0.9588 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009198/0.1616, allocations: 0.8179 MB / 0.9596 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.1617, allocations: 108 kB / 0.9597 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.1629, allocations: 1.009 MB / 0.9607 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002552/0.1632, allocations: 410.7 kB / 0.961 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003403/0.1635, allocations: 443 kB / 0.9615 GB, free: 9.332 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.1649, allocations: 1.487 MB / 0.9629 GB, free: 7.84 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1649, allocations: 0 / 0.9629 GB, free: 7.84 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1649, allocations: 0 / 0.9629 GB, free: 7.84 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.1649, allocations: 0 / 0.9629 GB, free: 7.84 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.0013/0.1662, allocations: 1.526 MB / 0.9644 GB, free: 6.27 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1662, allocations: 12.03 kB / 0.9644 GB, free: 6.258 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000659/0.1669, allocations: 330.7 kB / 0.9647 GB, free: 5.934 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009029/0.1678, allocations: 0.9211 MB / 0.9656 GB, free: 4.984 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001593/0.168, allocations: 291.6 kB / 0.9659 GB, free: 4.648 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.366e-05/0.168, allocations: 88 kB / 0.966 GB, free: 4.562 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007899/0.1688, allocations: 0.6963 MB / 0.9667 GB, free: 3.82 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.1688, allocations: 0 / 0.9667 GB, free: 3.82 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.482e-05/0.1689, allocations: 36 kB / 0.9667 GB, free: 3.785 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.1689, allocations: 24 kB / 0.9667 GB, free: 3.762 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004726/0.1694, allocations: 303.7 kB / 0.967 GB, free: 3.461 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.002408/0.1718, allocations: 3.01 MB / 0.97 GB, free: 372 kB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.172, allocations: 83 kB / 0.97 GB, free: 276 kB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.906e-05/0.1721, allocations: 63.75 kB / 0.9701 GB, free: 208 kB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/0.1723, allocations: 99.94 kB / 0.9702 GB, free: 108 kB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.1723, allocations: 37.39 kB / 0.9702 GB, free: 60 kB / 0.9167 GB Notification: Performance of pre-optimization done (n=24): time 1.212e-06/0.1723, allocations: 0 / 0.9702 GB, free: 60 kB / 0.9167 GB Notification: Performance of matching and sorting (n=24): time 0.0005171/0.1728, allocations: 268.8 kB / 0.9705 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.1728, allocations: 55.41 kB / 0.9705 GB, free: 15.72 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005177/0.1734, allocations: 0.6751 MB / 0.9712 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.1734, allocations: 37.64 kB / 0.9712 GB, free: 14.99 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002685/0.1736, allocations: 0.5999 MB / 0.9718 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.997e-05/0.1737, allocations: 95.16 kB / 0.9719 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.1738, allocations: 99.8 kB / 0.972 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1739, allocations: 0.4887 MB / 0.9725 GB, free: 13.69 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.664e-05/0.174, allocations: 48.89 kB / 0.9725 GB, free: 13.64 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/0.1743, allocations: 0.7242 MB / 0.9732 GB, free: 12.68 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003001/0.1746, allocations: 398.8 kB / 0.9736 GB, free: 12.17 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.1746, allocations: 4 kB / 0.9736 GB, free: 12.17 MB / 0.9323 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004447/0.1751, allocations: 372.5 kB / 0.974 GB, free: 11.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1751, allocations: 10.41 kB / 0.974 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1751, allocations: 8 kB / 0.974 GB, free: 11.78 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.1751, allocations: 15.94 kB / 0.974 GB, free: 11.77 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.1753, allocations: 83.89 kB / 0.9741 GB, free: 11.68 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.1753, allocations: 11.94 kB / 0.9741 GB, free: 11.67 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.1756, allocations: 44.02 kB / 0.9741 GB, free: 11.63 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.922e-05/0.1756, allocations: 31.98 kB / 0.9742 GB, free: 11.6 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.000163/0.1758, allocations: 184.4 kB / 0.9744 GB, free: 11.41 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.42e-05/0.1758, allocations: 87.48 kB / 0.9744 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003457/0.1762, allocations: 288.4 kB / 0.9747 GB, free: 11.03 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/0.1762, allocations: 11.86 kB / 0.9747 GB, free: 11.02 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1762, allocations: 0 / 0.9747 GB, free: 11.02 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1762, allocations: 0 / 0.9747 GB, free: 11.02 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.1772, allocations: 1.12 MB / 0.9758 GB, free: 9.777 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.453e-06/0.1772, allocations: 7.984 kB / 0.9758 GB, free: 9.77 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.697e-05/0.1773, allocations: 43.92 kB / 0.9759 GB, free: 9.727 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.79e-06/0.1773, allocations: 8 kB / 0.9759 GB, free: 9.719 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.1774, allocations: 12 kB / 0.9759 GB, free: 9.707 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.1774, allocations: 11.88 kB / 0.9759 GB, free: 9.695 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.375e-06/0.1774, allocations: 4.469 kB / 0.9759 GB, free: 9.691 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.1777, allocations: 0.5209 MB / 0.9764 GB, free: 9.074 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.1779, allocations: 119.3 kB / 0.9765 GB, free: 8.957 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.843e-05/0.1779, allocations: 15.92 kB / 0.9765 GB, free: 8.941 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.178, allocations: 8 kB / 0.9765 GB, free: 8.934 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.1781, allocations: 31.84 kB / 0.9766 GB, free: 8.902 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.1781, allocations: 19.94 kB / 0.9766 GB, free: 8.883 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003452/0.1784, allocations: 438.9 kB / 0.977 GB, free: 8.457 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1784, allocations: 4 kB / 0.977 GB, free: 8.453 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0005194/0.179, allocations: 311 kB / 0.9773 GB, free: 8.148 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.0002976/0.1793, allocations: 245.8 kB / 0.9775 GB, free: 7.902 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002986/0.1796, allocations: 197.7 kB / 0.9777 GB, free: 7.707 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1796, allocations: 4.125 kB / 0.9777 GB, free: 7.703 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 9.835e-05/0.1797, allocations: 81.22 kB / 0.9778 GB, free: 7.621 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007303/0.1804, allocations: 282 kB / 0.9781 GB, free: 7.352 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.1821, allocations: 1.531 MB / 0.9796 GB, free: 5.699 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.1822, allocations: 213.8 kB / 0.9798 GB, free: 5.469 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003097/0.1825, allocations: 142.3 kB / 0.9799 GB, free: 5.336 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.261e-05/0.1826, allocations: 48.5 kB / 0.98 GB, free: 5.289 MB / 0.9323 GB Notification: Performance of SimCode: time 7.52e-07/0.1826, allocations: 4 kB / 0.98 GB, free: 5.285 MB / 0.9323 GB Notification: Performance of Templates: time 0.01505/0.1976, allocations: 12.23 MB / 0.9919 GB, free: 9.402 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.220891010016203]