Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009481/0.0009481, 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.00183/0.00183, allocations: 169 kB / 24.28 MB, free: 276 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 1.094/1.094, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.921/1.921, allocations: 377.8 MB / 0.6239 GB, free: 8.566 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.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_12_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_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0.9844 kB / 0.8116 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.181e-05, allocations: 3.406 kB / 0.8116 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1357/0.1358, allocations: 144.1 MB / 0.9522 GB, free: 1.516 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.003387/0.1391, allocations: 4.855 MB / 0.957 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.1393, allocations: 11.94 kB / 0.957 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003767/0.1397, allocations: 166.8 kB / 0.9572 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.1399, allocations: 95.3 kB / 0.9572 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001111/0.14, allocations: 59.92 kB / 0.9573 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002856/0.1403, allocations: 318.6 kB / 0.9576 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/0.1405, allocations: 96.31 kB / 0.9577 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.1407, allocations: 163.5 kB / 0.9579 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.1409, allocations: 127.7 kB / 0.958 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.1409, allocations: 16 kB / 0.958 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 2.083e-05/0.1409, allocations: 16 kB / 0.958 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.1411, allocations: 63.81 kB / 0.9581 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.118e-05/0.1412, allocations: 71.77 kB / 0.9581 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.1414, allocations: 155.3 kB / 0.9583 GB, free: 11.31 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1414, allocations: 0 / 0.9583 GB, free: 11.31 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1414, allocations: 4 kB / 0.9583 GB, free: 11.31 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.1414, allocations: 0 / 0.9583 GB, free: 11.31 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0004137/0.1418, allocations: 0.5076 MB / 0.9588 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1418, allocations: 12.03 kB / 0.9588 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.959e-05/0.1419, allocations: 52.75 kB / 0.9588 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.1421, allocations: 212.2 kB / 0.959 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.1421, allocations: 20.88 kB / 0.9591 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.1422, allocations: 20.38 kB / 0.9591 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.1424, allocations: 303.5 kB / 0.9594 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1424, allocations: 4.188 kB / 0.9594 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.1425, allocations: 20.05 kB / 0.9594 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.1425, allocations: 4 kB / 0.9594 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.814e-05/0.1426, allocations: 79.7 kB / 0.9595 GB, free: 9.957 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009847/0.1436, allocations: 2.635 MB / 0.9621 GB, free: 7.211 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.556e-05/0.1436, allocations: 273.4 kB / 0.9623 GB, free: 6.93 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.038e-05/0.1437, allocations: 130.9 kB / 0.9624 GB, free: 6.797 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.1437, allocations: 119.2 kB / 0.9626 GB, free: 6.68 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.1437, allocations: 152.6 kB / 0.9627 GB, free: 6.52 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.1437, allocations: 0 / 0.9627 GB, free: 6.52 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 5.813e-05/0.1438, allocations: 41.59 kB / 0.9627 GB, free: 6.473 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.1438, allocations: 170.6 kB / 0.9629 GB, free: 6.293 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.144, allocations: 227.7 kB / 0.9631 GB, free: 6.055 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 6.702e-06/0.144, allocations: 25.7 kB / 0.9631 GB, free: 6.023 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.481e-05/0.1441, allocations: 242.5 kB / 0.9634 GB, free: 5.777 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.168e-06/0.1441, allocations: 0 / 0.9634 GB, free: 5.777 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.1441, allocations: 27.36 kB / 0.9634 GB, free: 5.742 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1442, allocations: 0.4922 MB / 0.9639 GB, free: 5.238 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.347e-05/0.1442, allocations: 7.984 kB / 0.9639 GB, free: 5.23 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.043e-05/0.1443, allocations: 73.5 kB / 0.964 GB, free: 5.125 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.52e-05/0.1443, allocations: 97.36 kB / 0.964 GB, free: 4.996 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1443, allocations: 4 kB / 0.9641 GB, free: 4.992 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001193/0.1445, allocations: 85.45 kB / 0.9641 GB, free: 4.902 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1445, allocations: 6.656 kB / 0.9641 GB, free: 4.898 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1445, allocations: 4 kB / 0.9641 GB, free: 4.895 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1445, allocations: 4.25 kB / 0.9641 GB, free: 4.891 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.723e-05/0.1446, allocations: 15.98 kB / 0.9642 GB, free: 4.875 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1446, allocations: 7.938 kB / 0.9642 GB, free: 4.867 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.785e-05/0.1446, allocations: 11.92 kB / 0.9642 GB, free: 4.855 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.1446, allocations: 4 kB / 0.9642 GB, free: 4.852 MB / 0.9167 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 8.974e-05/0.1447, allocations: 283.8 kB / 0.9645 GB, free: 4.562 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.1447, allocations: 152.8 kB / 0.9646 GB, free: 4.406 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.936e-05/0.1448, allocations: 165.3 kB / 0.9648 GB, free: 4.238 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.012e-05/0.1448, allocations: 264.1 kB / 0.965 GB, free: 3.973 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000119/0.1449, allocations: 272 kB / 0.9653 GB, free: 3.699 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.861e-05/0.145, allocations: 272 kB / 0.9655 GB, free: 3.426 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.1452, allocations: 0.5506 MB / 0.9661 GB, free: 2.828 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-05/0.1452, allocations: 152.8 kB / 0.9662 GB, free: 2.672 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.657e-05/0.1453, allocations: 144.9 kB / 0.9664 GB, free: 2.523 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.257e-05/0.1453, allocations: 272 kB / 0.9666 GB, free: 2.25 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.087e-05/0.1454, allocations: 268.1 kB / 0.9669 GB, free: 1.98 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.041e-05/0.1454, allocations: 272.2 kB / 0.9671 GB, free: 1.707 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.124e-05/0.1455, allocations: 272.1 kB / 0.9674 GB, free: 1.434 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.1456, allocations: 459.8 kB / 0.9678 GB, free: 0.957 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.1456, allocations: 152.8 kB / 0.968 GB, free: 0.8008 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.164e-05/0.1457, allocations: 272 kB / 0.9682 GB, free: 0.5273 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.281e-05/0.1457, allocations: 156.9 kB / 0.9684 GB, free: 376 kB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.1458, allocations: 264.1 kB / 0.9686 GB, free: 104 kB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/0.1458, allocations: 148.8 kB / 0.9688 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 6.93e-05/0.1459, allocations: 163.4 kB / 0.9689 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.1459, allocations: 0 / 0.9689 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0001837/0.1461, allocations: 39.78 kB / 0.969 GB, free: 15.75 MB / 0.9323 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.0001002/0.1462, allocations: 218.4 kB / 0.9692 GB, free: 15.53 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 7.774e-05/0.1463, allocations: 32.05 kB / 0.9692 GB, free: 15.49 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.1463, allocations: 4.062 kB / 0.9692 GB, free: 15.49 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.1463, allocations: 0 / 0.9692 GB, free: 15.49 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.1466, allocations: 0.7198 MB / 0.9699 GB, free: 14.77 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005858/0.1471, allocations: 430.9 kB / 0.9703 GB, free: 14.31 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.41e-05/0.1472, allocations: 83.31 kB / 0.9704 GB, free: 14.21 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 3.747e-05/0.1472, allocations: 12.48 kB / 0.9704 GB, free: 14.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.795e-05/0.1472, allocations: 12.5 kB / 0.9704 GB, free: 14.19 MB / 0.9323 GB Notification: Performance of SimCode: time 1.032e-06/0.1472, allocations: 0 / 0.9704 GB, free: 14.19 MB / 0.9323 GB Notification: Performance of Templates: time 0.002001/0.1492, allocations: 364.1 kB / 0.9708 GB, free: 13.84 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 5.307918888982385]