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.0009914/0.0009914, allocations: 80.3 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.0009589/0.0009589, allocations: 168.2 kB / 24.87 MB, free: 8.879 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.9586/0.9586, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.896/1.896, allocations: 377.9 MB / 0.6247 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.703e-06/1.703e-06, allocations: 0 / 0.8128 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.906e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1383/0.1384, allocations: 158.7 MB / 0.9677 GB, free: 2.238 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.007726/0.1461, allocations: 5.416 MB / 0.973 GB, free: 12.81 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001609/0.1477, allocations: 79.31 kB / 0.9731 GB, free: 12.73 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.149, allocations: 0.5701 MB / 0.9737 GB, free: 12.16 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002264/0.1513, allocations: 1.247 MB / 0.9749 GB, free: 10.9 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.003247/0.1545, allocations: 1.682 MB / 0.9765 GB, free: 9.215 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002898/0.1574, allocations: 2.705 MB / 0.9792 GB, free: 6.5 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.1586, allocations: 0.9934 MB / 0.9801 GB, free: 5.469 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001606/0.1602, allocations: 1.469 MB / 0.9816 GB, free: 3.996 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008417/0.1611, allocations: 0.7985 MB / 0.9824 GB, free: 3.195 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0003805/0.1614, allocations: 108 kB / 0.9825 GB, free: 3.09 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.1629, allocations: 1.009 MB / 0.9834 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0002887/0.1632, allocations: 410.7 kB / 0.9838 GB, free: 1.676 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0003729/0.1636, allocations: 447 kB / 0.9843 GB, free: 1.238 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001621/0.1652, allocations: 1.479 MB / 0.9857 GB, free: 15.75 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1652, allocations: 0 / 0.9857 GB, free: 15.75 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1652, allocations: 0 / 0.9857 GB, free: 15.75 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.1652, allocations: 0 / 0.9857 GB, free: 15.75 MB / 0.948 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.001363/0.1666, allocations: 1.537 MB / 0.9872 GB, free: 14.17 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.1666, allocations: 12.03 kB / 0.9872 GB, free: 14.16 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006961/0.1673, allocations: 338.6 kB / 0.9875 GB, free: 13.83 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009102/0.1682, allocations: 0.9094 MB / 0.9884 GB, free: 12.89 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.1684, allocations: 291.6 kB / 0.9887 GB, free: 12.55 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.05e-05/0.1684, allocations: 96 kB / 0.9888 GB, free: 12.46 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.1695, allocations: 0.6375 MB / 0.9894 GB, free: 11.78 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.1695, allocations: 3.938 kB / 0.9894 GB, free: 11.77 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.571e-05/0.1696, allocations: 36 kB / 0.9895 GB, free: 11.74 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.1696, allocations: 24 kB / 0.9895 GB, free: 11.71 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.1699, allocations: 237.7 kB / 0.9897 GB, free: 11.48 MB / 0.948 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.002261/0.1722, allocations: 2.858 MB / 0.9925 GB, free: 8.547 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.1723, allocations: 79.11 kB / 0.9926 GB, free: 8.457 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.894e-05/0.1724, allocations: 51.7 kB / 0.9926 GB, free: 8.402 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002194/0.1726, allocations: 87.94 kB / 0.9927 GB, free: 8.316 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.1726, allocations: 45.39 kB / 0.9928 GB, free: 8.262 MB / 0.948 GB Notification: Performance of pre-optimization done (n=24): time 1.763e-06/0.1726, allocations: 0 / 0.9928 GB, free: 8.262 MB / 0.948 GB Notification: Performance of matching and sorting (n=24): time 0.0004549/0.1731, allocations: 263.2 kB / 0.993 GB, free: 8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.1731, allocations: 63.28 kB / 0.9931 GB, free: 7.926 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/0.1736, allocations: 0.6552 MB / 0.9937 GB, free: 7.254 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.1736, allocations: 33.7 kB / 0.9937 GB, free: 7.215 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003012/0.1739, allocations: 0.6114 MB / 0.9943 GB, free: 6.594 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.07e-05/0.1739, allocations: 99.2 kB / 0.9944 GB, free: 6.496 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.1741, allocations: 99.77 kB / 0.9945 GB, free: 6.391 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1742, allocations: 0.4926 MB / 0.995 GB, free: 5.891 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.542e-05/0.1742, allocations: 32.95 kB / 0.995 GB, free: 5.859 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003609/0.1746, allocations: 0.7318 MB / 0.9958 GB, free: 4.891 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004015/0.175, allocations: 366.8 kB / 0.9961 GB, free: 4.414 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.175, allocations: 0 / 0.9961 GB, free: 4.414 MB / 0.948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003977/0.1754, allocations: 356.6 kB / 0.9964 GB, free: 4.059 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1754, allocations: 8 kB / 0.9964 GB, free: 4.051 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1754, allocations: 8.688 kB / 0.9965 GB, free: 4.043 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1754, allocations: 8 kB / 0.9965 GB, free: 4.035 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.1756, allocations: 91.84 kB / 0.9966 GB, free: 3.945 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.1756, allocations: 19.86 kB / 0.9966 GB, free: 3.926 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.1759, allocations: 47.67 kB / 0.9966 GB, free: 3.879 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/0.1759, allocations: 27.98 kB / 0.9966 GB, free: 3.852 MB / 0.948 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.0001566/0.1761, allocations: 184.5 kB / 0.9968 GB, free: 3.66 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.557e-05/0.1761, allocations: 83.42 kB / 0.9969 GB, free: 3.578 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000335/0.1765, allocations: 267.4 kB / 0.9972 GB, free: 3.309 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1765, allocations: 4 kB / 0.9972 GB, free: 3.305 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1765, allocations: 3.938 kB / 0.9972 GB, free: 3.301 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1765, allocations: 3.984 kB / 0.9972 GB, free: 3.297 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009778/0.1775, allocations: 0.9757 MB / 0.9981 GB, free: 2.211 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.1775, allocations: 4.062 kB / 0.9981 GB, free: 2.207 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.874e-05/0.1776, allocations: 47.91 kB / 0.9982 GB, free: 2.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.1776, allocations: 4 kB / 0.9982 GB, free: 2.156 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.1776, allocations: 12 kB / 0.9982 GB, free: 2.145 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.1776, allocations: 8 kB / 0.9982 GB, free: 2.137 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.1776, allocations: 7.938 kB / 0.9982 GB, free: 2.129 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.1779, allocations: 0.5096 MB / 0.9987 GB, free: 1.523 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.178, allocations: 115.4 kB / 0.9988 GB, free: 1.41 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.1781, allocations: 15.92 kB / 0.9988 GB, free: 1.395 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.1782, allocations: 4 kB / 0.9988 GB, free: 1.391 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.1783, allocations: 31.84 kB / 0.9989 GB, free: 1.359 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.1783, allocations: 16 kB / 0.9989 GB, free: 1.344 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002642/0.1785, allocations: 418.7 kB / 0.9993 GB, free: 0.9375 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1785, allocations: 0 / 0.9993 GB, free: 0.9375 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006115/0.1792, allocations: 311 kB / 0.9996 GB, free: 0.6328 MB / 0.948 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.0002961/0.1794, allocations: 242.9 kB / 0.9998 GB, free: 396 kB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002503/0.1797, allocations: 187.7 kB / 1 GB, free: 208 kB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1797, allocations: 0 / 1 GB, free: 208 kB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.628e-05/0.1798, allocations: 83.39 kB / 1 GB, free: 120 kB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007886/0.1806, allocations: 292.8 kB / 1 GB, free: 15.84 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.1822, allocations: 1.527 MB / 1.002 GB, free: 14.19 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.1824, allocations: 225.3 kB / 1.002 GB, free: 13.95 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002718/0.1826, allocations: 96.56 kB / 1.002 GB, free: 13.86 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003635/0.183, allocations: 286 kB / 1.002 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of SimCode: time 7.71e-07/0.183, allocations: 0 / 1.002 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of Templates: time 0.01675/0.1997, allocations: 12.43 MB / 1.015 GB, free: 1.492 MB / 0.9636 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 -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.466161109041423]