Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.001697/0.001697, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001553/0.001553, allocations: 169 kB / 23.49 MB, free: 1.062 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.047/1.047, allocations: 177.1 MB / 203.8 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.218/2.218, allocations: 429.5 MB / 0.6736 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.[0-9,]+.|souRev.outlet.backward.T|souRev.outlet.backward.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.[0-9,]+.|souRev.outlet.backward.T|souRev.outlet.backward.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 0.8782 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.993e-05/4.226e-05, allocations: 3.469 kB / 0.8782 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1469/0.1469, allocations: 144.1 MB / 1.019 GB, free: 6 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.004211/0.1511, allocations: 4.847 MB / 1.024 GB, free: 1.141 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003377/0.1514, allocations: 15.88 kB / 1.024 GB, free: 1.125 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005911/0.152, allocations: 166.8 kB / 1.024 GB, free: 0.9609 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0003579/0.1524, allocations: 91.38 kB / 1.024 GB, free: 0.8711 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.1525, allocations: 63.91 kB / 1.024 GB, free: 0.8086 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0003174/0.1529, allocations: 314.7 kB / 1.024 GB, free: 0.5 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002571/0.1531, allocations: 100.2 kB / 1.024 GB, free: 404 kB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/0.1533, allocations: 171.5 kB / 1.025 GB, free: 232 kB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.1535, allocations: 127.7 kB / 1.025 GB, free: 104 kB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.1535, allocations: 16 kB / 1.025 GB, free: 88 kB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 2.165e-05/0.1535, allocations: 16 kB / 1.025 GB, free: 72 kB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 7.851e-05/0.1536, allocations: 67.75 kB / 1.025 GB, free: 4 kB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 8.295e-05/0.1537, allocations: 67.95 kB / 1.025 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.1539, allocations: 151.3 kB / 1.025 GB, free: 15.79 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1539, allocations: 0 / 1.025 GB, free: 15.79 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1539, allocations: 4 kB / 1.025 GB, free: 15.78 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.1539, allocations: 3.938 kB / 1.025 GB, free: 15.78 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0004707/0.1544, allocations: 0.5115 MB / 1.025 GB, free: 15.23 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.1544, allocations: 12.03 kB / 1.025 GB, free: 15.22 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.91e-05/0.1545, allocations: 44.8 kB / 1.026 GB, free: 15.18 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.1548, allocations: 215.2 kB / 1.026 GB, free: 14.94 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.1548, allocations: 20.88 kB / 1.026 GB, free: 14.92 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.1548, allocations: 20.38 kB / 1.026 GB, free: 14.9 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.1551, allocations: 299.5 kB / 1.026 GB, free: 14.54 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1551, allocations: 4.188 kB / 1.026 GB, free: 14.54 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.1552, allocations: 12.12 kB / 1.026 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.1552, allocations: 4 kB / 1.026 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.1553, allocations: 83.69 kB / 1.026 GB, free: 14.44 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.1565, allocations: 2.631 MB / 1.029 GB, free: 11.7 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.1566, allocations: 269.4 kB / 1.029 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.345e-05/0.1566, allocations: 130.9 kB / 1.029 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-05/0.1567, allocations: 123.2 kB / 1.029 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.191e-05/0.1567, allocations: 152.6 kB / 1.029 GB, free: 11 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=0): time 3.567e-06/0.1567, allocations: 0 / 1.029 GB, free: 11 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0): time 8.251e-05/0.1568, allocations: 41.61 kB / 1.029 GB, free: 10.96 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.482e-05/0.1569, allocations: 174.5 kB / 1.03 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.1571, allocations: 225.8 kB / 1.03 GB, free: 10.54 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.1571, allocations: 25.7 kB / 1.03 GB, free: 10.5 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.1572, allocations: 234.6 kB / 1.03 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/0.1572, allocations: 0 / 1.03 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.1572, allocations: 27.36 kB / 1.03 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1574, allocations: 0.4922 MB / 1.031 GB, free: 9.73 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.1574, allocations: 11.92 kB / 1.031 GB, free: 9.719 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.727e-05/0.1574, allocations: 77.48 kB / 1.031 GB, free: 9.609 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.1576, allocations: 93.36 kB / 1.031 GB, free: 9.484 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.1577, allocations: 8 kB / 1.031 GB, free: 9.477 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001581/0.1578, allocations: 89.41 kB / 1.031 GB, free: 9.383 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1578, allocations: 4 kB / 1.031 GB, free: 9.379 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1578, allocations: 4 kB / 1.031 GB, free: 9.375 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1579, allocations: 4.25 kB / 1.031 GB, free: 9.371 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.751e-05/0.1579, allocations: 19.98 kB / 1.031 GB, free: 9.352 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1579, allocations: 4 kB / 1.031 GB, free: 9.348 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.789e-05/0.158, allocations: 7.938 kB / 1.031 GB, free: 9.34 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.158, allocations: 4 kB / 1.031 GB, free: 9.336 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001078/0.1581, allocations: 291.7 kB / 1.031 GB, free: 9.039 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-05/0.1581, allocations: 156.8 kB / 1.031 GB, free: 8.879 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.965e-05/0.1582, allocations: 161.3 kB / 1.031 GB, free: 8.719 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.958e-05/0.1583, allocations: 272.1 kB / 1.032 GB, free: 8.445 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.005e-05/0.1583, allocations: 268 kB / 1.032 GB, free: 8.176 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.893e-05/0.1584, allocations: 264.1 kB / 1.032 GB, free: 7.91 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.1586, allocations: 0.5545 MB / 1.033 GB, free: 7.312 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.472e-05/0.1586, allocations: 152.8 kB / 1.033 GB, free: 7.156 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.247e-05/0.1587, allocations: 144.9 kB / 1.033 GB, free: 7.008 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.885e-05/0.1587, allocations: 272 kB / 1.033 GB, free: 6.734 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.913e-05/0.1588, allocations: 264.1 kB / 1.034 GB, free: 6.469 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.887e-05/0.1589, allocations: 264.3 kB / 1.034 GB, free: 6.203 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-05/0.1589, allocations: 280 kB / 1.034 GB, free: 5.922 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.1591, allocations: 455.8 kB / 1.034 GB, free: 5.449 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.215e-05/0.1591, allocations: 152.8 kB / 1.035 GB, free: 5.293 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.102e-05/0.1592, allocations: 264.1 kB / 1.035 GB, free: 5.027 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.218e-05/0.1592, allocations: 164.8 kB / 1.035 GB, free: 4.859 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.874e-05/0.1593, allocations: 264.1 kB / 1.035 GB, free: 4.594 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-05/0.1593, allocations: 148.8 kB / 1.035 GB, free: 4.441 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 8.309e-05/0.1594, allocations: 161.5 kB / 1.036 GB, free: 4.285 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.1594, allocations: 0 / 1.036 GB, free: 4.285 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001958/0.1596, allocations: 35.84 kB / 1.036 GB, free: 4.25 MB / 0.9948 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.0001414/0.1598, allocations: 218.4 kB / 1.036 GB, free: 4.027 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.1599, allocations: 31.92 kB / 1.036 GB, free: 3.992 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1599, allocations: 8.125 kB / 1.036 GB, free: 3.984 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.1599, allocations: 0 / 1.036 GB, free: 3.984 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.1602, allocations: 0.7101 MB / 1.037 GB, free: 3.27 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007468/0.161, allocations: 442.7 kB / 1.037 GB, free: 2.805 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.119e-05/0.161, allocations: 76.11 kB / 1.037 GB, free: 2.711 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 5.908e-05/0.1611, allocations: 16.48 kB / 1.037 GB, free: 2.695 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/0.1611, allocations: 8.5 kB / 1.037 GB, free: 2.688 MB / 0.9948 GB Notification: Performance of SimCode: time 1.032e-06/0.1611, allocations: 0 / 1.037 GB, free: 2.688 MB / 0.9948 GB Notification: Performance of Templates: time 0.002489/0.1636, allocations: 366.9 kB / 1.037 GB, free: 2.336 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.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: 6.068023510975763]