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.0009143/0.0009143, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.0009253/0.0009253, allocations: 165 kB / 23.82 MB, free: 0.7422 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.045/1.045, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.846/1.846, allocations: 359 MB / 0.6052 GB, free: 11.01 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.973e-06/1.973e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.085e-05, allocations: 5.391 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1508/0.1509, allocations: 161.6 MB / 0.9449 GB, free: 10.39 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.008016/0.1589, allocations: 5.431 MB / 0.9502 GB, free: 4.945 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002039/0.1609, allocations: 75.31 kB / 0.9503 GB, free: 4.871 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.1626, allocations: 0.5779 MB / 0.9508 GB, free: 4.289 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.003222/0.1658, allocations: 1.258 MB / 0.9521 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.003742/0.1695, allocations: 1.678 MB / 0.9537 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.004077/0.1736, allocations: 2.709 MB / 0.9563 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001582/0.1752, allocations: 0.9971 MB / 0.9573 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001966/0.1772, allocations: 1.411 MB / 0.9587 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000917/0.1781, allocations: 0.8257 MB / 0.9595 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.1782, allocations: 108 kB / 0.9596 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002237/0.1804, allocations: 1.075 MB / 0.9607 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.000325/0.1808, allocations: 410.6 kB / 0.961 GB, free: 9.762 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0004124/0.1812, allocations: 447 kB / 0.9615 GB, free: 9.324 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.002046/0.1832, allocations: 1.53 MB / 0.963 GB, free: 7.789 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1832, allocations: 4 kB / 0.963 GB, free: 7.785 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1832, allocations: 0 / 0.963 GB, free: 7.785 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.1832, allocations: 0 / 0.963 GB, free: 7.785 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.001579/0.1848, allocations: 1.53 MB / 0.9645 GB, free: 6.211 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.1849, allocations: 8.031 kB / 0.9645 GB, free: 6.203 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008518/0.1857, allocations: 342.7 kB / 0.9648 GB, free: 5.867 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.1869, allocations: 0.9328 MB / 0.9657 GB, free: 4.906 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000191/0.1871, allocations: 287.6 kB / 0.966 GB, free: 4.574 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.515e-05/0.1872, allocations: 92 kB / 0.9661 GB, free: 4.484 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000911/0.1881, allocations: 0.6845 MB / 0.9667 GB, free: 3.754 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.1881, allocations: 7.938 kB / 0.9667 GB, free: 3.746 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.873e-05/0.1881, allocations: 36 kB / 0.9668 GB, free: 3.711 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.1882, allocations: 24 kB / 0.9668 GB, free: 3.688 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005088/0.1887, allocations: 307.7 kB / 0.9671 GB, free: 3.383 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.002672/0.1913, allocations: 3.01 MB / 0.97 GB, free: 292 kB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.1916, allocations: 89.55 kB / 0.9701 GB, free: 192 kB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.11e-05/0.1917, allocations: 59.72 kB / 0.9702 GB, free: 128 kB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002687/0.1919, allocations: 95.94 kB / 0.9703 GB, free: 32 kB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.192, allocations: 37.47 kB / 0.9703 GB, free: 15.98 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=24): time 3.206e-06/0.192, allocations: 0 / 0.9703 GB, free: 15.98 MB / 0.9323 GB Notification: Performance of matching and sorting (n=24): time 0.0005931/0.1926, allocations: 272.8 kB / 0.9706 GB, free: 15.71 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.1926, allocations: 59.34 kB / 0.9706 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006078/0.1932, allocations: 0.6829 MB / 0.9713 GB, free: 14.94 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.1932, allocations: 29.7 kB / 0.9713 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003284/0.1936, allocations: 0.5998 MB / 0.9719 GB, free: 14.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.268e-05/0.1936, allocations: 87.23 kB / 0.972 GB, free: 14.21 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002873/0.1939, allocations: 103.8 kB / 0.9721 GB, free: 14.11 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1941, allocations: 0.4887 MB / 0.9726 GB, free: 13.61 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.1942, allocations: 44.97 kB / 0.9726 GB, free: 13.57 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003897/0.1945, allocations: 0.7341 MB / 0.9733 GB, free: 12.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/0.1949, allocations: 390.8 kB / 0.9737 GB, free: 12.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1949, allocations: 0 / 0.9737 GB, free: 12.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000488/0.1954, allocations: 381 kB / 0.9741 GB, free: 11.72 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.1954, allocations: 8 kB / 0.9741 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.1954, allocations: 8 kB / 0.9741 GB, free: 11.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/0.1954, allocations: 11.94 kB / 0.9741 GB, free: 11.69 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.1957, allocations: 91.83 kB / 0.9742 GB, free: 11.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.1957, allocations: 11.98 kB / 0.9742 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.1959, allocations: 48.11 kB / 0.9742 GB, free: 11.54 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/0.196, allocations: 24 kB / 0.9743 GB, free: 11.52 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.0001874/0.1962, allocations: 192.4 kB / 0.9744 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.594e-05/0.1962, allocations: 83.48 kB / 0.9745 GB, free: 11.24 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004234/0.1967, allocations: 278.2 kB / 0.9748 GB, free: 10.96 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.1967, allocations: 11.88 kB / 0.9748 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1967, allocations: 0 / 0.9748 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1967, allocations: 0 / 0.9748 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.1979, allocations: 1.128 MB / 0.9759 GB, free: 9.699 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.1979, allocations: 8.094 kB / 0.9759 GB, free: 9.691 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.43e-05/0.198, allocations: 47.91 kB / 0.9759 GB, free: 9.645 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.198, allocations: 4 kB / 0.976 GB, free: 9.641 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.198, allocations: 8.062 kB / 0.976 GB, free: 9.633 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.344e-05/0.198, allocations: 19.88 kB / 0.976 GB, free: 9.613 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.1981, allocations: 4 kB / 0.976 GB, free: 9.609 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003876/0.1984, allocations: 0.5271 MB / 0.9765 GB, free: 8.988 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.1986, allocations: 111.4 kB / 0.9766 GB, free: 8.879 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/0.1986, allocations: 15.94 kB / 0.9766 GB, free: 8.863 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.1988, allocations: 11.98 kB / 0.9766 GB, free: 8.852 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.1988, allocations: 31.84 kB / 0.9767 GB, free: 8.82 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.1988, allocations: 16 kB / 0.9767 GB, free: 8.805 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000389/0.1992, allocations: 442.9 kB / 0.9771 GB, free: 8.375 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.11e-07/0.1992, allocations: 0 / 0.9771 GB, free: 8.375 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0008346/0.2001, allocations: 319 kB / 0.9774 GB, free: 8.062 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.0003989/0.2005, allocations: 266.8 kB / 0.9777 GB, free: 7.793 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0003546/0.2008, allocations: 189.4 kB / 0.9778 GB, free: 7.605 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.2008, allocations: 3.938 kB / 0.9778 GB, free: 7.602 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.2009, allocations: 91.72 kB / 0.9779 GB, free: 7.508 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008998/0.2018, allocations: 280.5 kB / 0.9782 GB, free: 7.242 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.2039, allocations: 1.527 MB / 0.9797 GB, free: 5.594 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.2041, allocations: 213.8 kB / 0.9799 GB, free: 5.363 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003569/0.2045, allocations: 140.1 kB / 0.98 GB, free: 5.23 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.885e-05/0.2045, allocations: 48.5 kB / 0.9801 GB, free: 5.184 MB / 0.9323 GB Notification: Performance of SimCode: time 1.413e-06/0.2046, allocations: 0 / 0.9801 GB, free: 5.184 MB / 0.9323 GB Notification: Performance of Templates: time 0.01608/0.2206, allocations: 11.38 MB / 0.9912 GB, free: 10.08 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.6771826897747815]