Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.0009905/0.0009905, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001022/0.001022, allocations: 169 kB / 24.28 MB, free: 272 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 0.9786/0.9786, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.821/1.821, allocations: 377.8 MB / 0.6239 GB, free: 8.578 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.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.[0-9,]+.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.[0-9,]+.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.8115 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.124e-05, allocations: 8.266 kB / 0.8116 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1618/0.1618, allocations: 170.7 MB / 0.9782 GB, free: 6.84 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00751/0.1693, allocations: 9.843 MB / 0.9878 GB, free: 12.96 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003177/0.1696, allocations: 11.94 kB / 0.9878 GB, free: 12.95 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006659/0.1703, allocations: 198.6 kB / 0.988 GB, free: 12.76 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.1706, allocations: 107.2 kB / 0.9881 GB, free: 12.65 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.1707, allocations: 67.8 kB / 0.9882 GB, free: 12.59 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003212/0.1711, allocations: 338.5 kB / 0.9885 GB, free: 12.25 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003203/0.1714, allocations: 129.4 kB / 0.9886 GB, free: 12.13 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003728/0.1718, allocations: 231.4 kB / 0.9889 GB, free: 11.9 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.1719, allocations: 95.69 kB / 0.989 GB, free: 11.81 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.1719, allocations: 20 kB / 0.989 GB, free: 11.79 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.407e-05/0.1719, allocations: 28 kB / 0.989 GB, free: 11.76 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.614e-05/0.172, allocations: 83.72 kB / 0.9891 GB, free: 11.68 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.388e-05/0.1721, allocations: 75.84 kB / 0.9891 GB, free: 11.61 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.1723, allocations: 191.1 kB / 0.9893 GB, free: 11.42 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1723, allocations: 0 / 0.9893 GB, free: 11.42 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.914e-06/0.1723, allocations: 0 / 0.9893 GB, free: 11.42 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.1723, allocations: 0 / 0.9893 GB, free: 11.42 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0004403/0.1727, allocations: 0.5425 MB / 0.9899 GB, free: 10.84 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1728, allocations: 8.031 kB / 0.9899 GB, free: 10.83 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.166e-05/0.1728, allocations: 55.75 kB / 0.9899 GB, free: 10.77 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.1731, allocations: 230.2 kB / 0.9901 GB, free: 10.52 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.1731, allocations: 24.66 kB / 0.9902 GB, free: 10.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.1732, allocations: 24 kB / 0.9902 GB, free: 10.48 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.1735, allocations: 298 kB / 0.9905 GB, free: 10.12 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1735, allocations: 3.938 kB / 0.9905 GB, free: 10.12 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.1735, allocations: 12 kB / 0.9905 GB, free: 10.11 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.1735, allocations: 8 kB / 0.9905 GB, free: 10.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.1736, allocations: 91.69 kB / 0.9906 GB, free: 10.01 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.1747, allocations: 2.32 MB / 0.9928 GB, free: 7.594 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.971e-05/0.1748, allocations: 269.4 kB / 0.9931 GB, free: 7.316 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.766e-05/0.1748, allocations: 126.9 kB / 0.9932 GB, free: 7.188 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.1749, allocations: 119.2 kB / 0.9933 GB, free: 7.07 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003293/0.1752, allocations: 164.5 kB / 0.9935 GB, free: 6.898 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.253e-06/0.1752, allocations: 0 / 0.9935 GB, free: 6.898 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 7.654e-05/0.1753, allocations: 37.59 kB / 0.9935 GB, free: 6.855 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.1753, allocations: 174.6 kB / 0.9937 GB, free: 6.672 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.1755, allocations: 219.7 kB / 0.9939 GB, free: 6.441 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.1755, allocations: 25.7 kB / 0.9939 GB, free: 6.41 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.1756, allocations: 242.6 kB / 0.9942 GB, free: 6.168 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-06/0.1756, allocations: 4 kB / 0.9942 GB, free: 6.164 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.1756, allocations: 23.38 kB / 0.9942 GB, free: 6.133 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1757, allocations: 0.4884 MB / 0.9947 GB, free: 5.633 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/0.1757, allocations: 8 kB / 0.9947 GB, free: 5.625 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.41e-05/0.1758, allocations: 50.36 kB / 0.9947 GB, free: 5.555 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.263e-05/0.1758, allocations: 58.38 kB / 0.9948 GB, free: 5.477 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1758, allocations: 4 kB / 0.9948 GB, free: 5.473 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001174/0.1759, allocations: 61.58 kB / 0.9948 GB, free: 5.406 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.176, allocations: 11.94 kB / 0.9949 GB, free: 5.395 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.176, allocations: 128 / 0.9949 GB, free: 5.395 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.176, allocations: 3.938 kB / 0.9949 GB, free: 5.391 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.205e-05/0.176, allocations: 16.16 kB / 0.9949 GB, free: 5.375 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.176, allocations: 4 kB / 0.9949 GB, free: 5.371 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.082e-05/0.1761, allocations: 7.953 kB / 0.9949 GB, free: 5.363 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.1761, allocations: 7.984 kB / 0.9949 GB, free: 5.355 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001112/0.1762, allocations: 275.8 kB / 0.9952 GB, free: 5.074 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.904e-05/0.1762, allocations: 156.8 kB / 0.9953 GB, free: 4.914 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.011e-05/0.1763, allocations: 157.4 kB / 0.9955 GB, free: 4.758 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.455e-05/0.1763, allocations: 272 kB / 0.9957 GB, free: 4.484 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.345e-05/0.1764, allocations: 268 kB / 0.996 GB, free: 4.215 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.394e-05/0.1764, allocations: 268.2 kB / 0.9962 GB, free: 3.945 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.1767, allocations: 0.574 MB / 0.9968 GB, free: 3.328 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.654e-05/0.1767, allocations: 144.9 kB / 0.9969 GB, free: 3.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.451e-05/0.1767, allocations: 148.8 kB / 0.9971 GB, free: 3.027 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-05/0.1768, allocations: 264.2 kB / 0.9973 GB, free: 2.762 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-05/0.1769, allocations: 272 kB / 0.9976 GB, free: 2.488 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.206e-05/0.1769, allocations: 276 kB / 0.9978 GB, free: 2.211 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.19e-05/0.177, allocations: 272 kB / 0.9981 GB, free: 1.938 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.1771, allocations: 451.9 kB / 0.9985 GB, free: 1.469 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.1772, allocations: 156.8 kB / 0.9987 GB, free: 1.309 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.591e-05/0.1772, allocations: 276 kB / 0.9989 GB, free: 1.031 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.678e-05/0.1773, allocations: 144.9 kB / 0.9991 GB, free: 0.8828 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.432e-05/0.1774, allocations: 280 kB / 0.9993 GB, free: 0.6016 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/0.1774, allocations: 144.9 kB / 0.9995 GB, free: 464 kB / 0.948 GB Notification: Performance of sorting global known variables: time 6.611e-05/0.1775, allocations: 155.2 kB / 0.9996 GB, free: 308 kB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1775, allocations: 0 / 0.9996 GB, free: 308 kB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001831/0.1777, allocations: 47.73 kB / 0.9997 GB, free: 260 kB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001176/0.1778, allocations: 214.4 kB / 0.9999 GB, free: 36 kB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.244e-05/0.1779, allocations: 27.61 kB / 0.9999 GB, free: 4 kB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1779, allocations: 320 / 0.9999 GB, free: 4 kB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.1779, allocations: 4 kB / 0.9999 GB, free: 0 / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.1782, allocations: 0.7062 MB / 1.001 GB, free: 15.29 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009833/0.1792, allocations: 478.4 kB / 1.001 GB, free: 14.79 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.316e-05/0.1792, allocations: 83.3 kB / 1.001 GB, free: 14.68 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.848e-05/0.1793, allocations: 4.5 kB / 1.001 GB, free: 14.68 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.309e-05/0.1793, allocations: 20.48 kB / 1.001 GB, free: 14.66 MB / 0.9636 GB Notification: Performance of SimCode: time 6.01e-07/0.1793, allocations: 0 / 1.001 GB, free: 14.66 MB / 0.9636 GB Notification: Performance of Templates: time 0.002224/0.1815, allocations: 314.5 kB / 1.001 GB, free: 14.35 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.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.252805405063555]