Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000988/0.000988, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001712/0.001712, allocations: 177 kB / 23.36 MB, free: 1.129 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.9989/0.9989, allocations: 177.2 MB / 203.8 MB, free: 5.484 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.367/2.367, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.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_latest_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_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.935e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1459/0.1459, allocations: 145 MB / 0.9802 GB, free: 12.64 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.0007699/0.1467, allocations: 294.9 kB / 0.9805 GB, free: 12.36 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.1468, allocations: 11.94 kB / 0.9805 GB, free: 12.34 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.00035/0.1472, allocations: 87.28 kB / 0.9806 GB, free: 12.26 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.1473, allocations: 99.19 kB / 0.9806 GB, free: 12.16 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.1475, allocations: 67.91 kB / 0.9807 GB, free: 12.09 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.1478, allocations: 330.5 kB / 0.981 GB, free: 11.77 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002569/0.1481, allocations: 133.3 kB / 0.9812 GB, free: 11.64 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003318/0.1484, allocations: 195.5 kB / 0.9813 GB, free: 11.45 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.1485, allocations: 87.7 kB / 0.9814 GB, free: 11.36 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.1485, allocations: 24 kB / 0.9814 GB, free: 11.34 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.375e-05/0.1486, allocations: 20 kB / 0.9815 GB, free: 11.32 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.209e-05/0.1486, allocations: 79.72 kB / 0.9815 GB, free: 11.24 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.8e-05/0.1487, allocations: 87.78 kB / 0.9816 GB, free: 11.15 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.1489, allocations: 183.1 kB / 0.9818 GB, free: 10.97 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1489, allocations: 4 kB / 0.9818 GB, free: 10.97 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1489, allocations: 0 / 0.9818 GB, free: 10.97 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.1489, allocations: 4 kB / 0.9818 GB, free: 10.96 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.0003673/0.1493, allocations: 428 kB / 0.9822 GB, free: 10.52 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1493, allocations: 8.625 kB / 0.9822 GB, free: 10.52 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/0.1494, allocations: 40.91 kB / 0.9823 GB, free: 10.48 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.1496, allocations: 201.9 kB / 0.9825 GB, free: 10.25 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.1496, allocations: 21.03 kB / 0.9825 GB, free: 10.23 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.1497, allocations: 28.31 kB / 0.9825 GB, free: 10.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.1499, allocations: 269 kB / 0.9828 GB, free: 9.895 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1499, allocations: 0 / 0.9828 GB, free: 9.895 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.1499, allocations: 12 kB / 0.9828 GB, free: 9.883 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.1499, allocations: 8 kB / 0.9828 GB, free: 9.875 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.808e-05/0.15, allocations: 75.72 kB / 0.9829 GB, free: 9.801 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007786/0.1508, allocations: 1.528 MB / 0.9843 GB, free: 8.211 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.783e-05/0.1509, allocations: 177.1 kB / 0.9845 GB, free: 8.027 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.385e-05/0.1509, allocations: 80.14 kB / 0.9846 GB, free: 7.945 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.1509, allocations: 79.27 kB / 0.9847 GB, free: 7.867 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.1509, allocations: 105.8 kB / 0.9848 GB, free: 7.754 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.1509, allocations: 0 / 0.9848 GB, free: 7.754 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 6.518e-05/0.151, allocations: 33.64 kB / 0.9848 GB, free: 7.715 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.1511, allocations: 130.7 kB / 0.9849 GB, free: 7.574 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.1512, allocations: 155.3 kB / 0.9851 GB, free: 7.41 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.304e-06/0.1512, allocations: 29.7 kB / 0.9851 GB, free: 7.375 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.788e-05/0.1512, allocations: 191.9 kB / 0.9853 GB, free: 7.184 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.1512, allocations: 4 kB / 0.9853 GB, free: 7.18 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.1513, allocations: 17.7 kB / 0.9853 GB, free: 7.156 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.813e-05/0.1514, allocations: 322.8 kB / 0.9856 GB, free: 6.832 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.581e-06/0.1514, allocations: 0 / 0.9856 GB, free: 6.832 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.432e-05/0.1514, allocations: 36.3 kB / 0.9856 GB, free: 6.781 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.208e-05/0.1514, allocations: 43.05 kB / 0.9857 GB, free: 6.723 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1514, allocations: 7.938 kB / 0.9857 GB, free: 6.715 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.272e-05/0.1515, allocations: 65.55 kB / 0.9858 GB, free: 6.645 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1515, allocations: 4 kB / 0.9858 GB, free: 6.641 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1515, allocations: 0 / 0.9858 GB, free: 6.641 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1516, allocations: 4 kB / 0.9858 GB, free: 6.637 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.481e-05/0.1516, allocations: 8.109 kB / 0.9858 GB, free: 6.629 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1516, allocations: 15.84 kB / 0.9858 GB, free: 6.613 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.895e-05/0.1516, allocations: 4 kB / 0.9858 GB, free: 6.609 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.1516, allocations: 160 / 0.9858 GB, free: 6.609 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 7.975e-05/0.1517, allocations: 195.9 kB / 0.986 GB, free: 6.406 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.1517, allocations: 105 kB / 0.9861 GB, free: 6.297 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.41e-05/0.1518, allocations: 125.5 kB / 0.9862 GB, free: 6.172 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.163e-05/0.1518, allocations: 180.3 kB / 0.9864 GB, free: 5.988 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-05/0.1519, allocations: 188.2 kB / 0.9865 GB, free: 5.797 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.78e-05/0.1519, allocations: 176.3 kB / 0.9867 GB, free: 5.617 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.1521, allocations: 361.3 kB / 0.9871 GB, free: 5.238 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-05/0.1521, allocations: 108.9 kB / 0.9872 GB, free: 5.125 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.472e-05/0.1521, allocations: 105 kB / 0.9873 GB, free: 5.016 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.373e-05/0.1522, allocations: 184.1 kB / 0.9874 GB, free: 4.828 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.372e-05/0.1522, allocations: 184.2 kB / 0.9876 GB, free: 4.641 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.029e-05/0.1523, allocations: 180.3 kB / 0.9878 GB, free: 4.457 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.221e-05/0.1523, allocations: 180.2 kB / 0.988 GB, free: 4.273 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.651e-05/0.1524, allocations: 307.8 kB / 0.9883 GB, free: 3.949 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.1524, allocations: 120.8 kB / 0.9884 GB, free: 3.824 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.265e-05/0.1525, allocations: 184.4 kB / 0.9885 GB, free: 3.637 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.888e-05/0.1525, allocations: 108.9 kB / 0.9886 GB, free: 3.523 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.1526, allocations: 176.3 kB / 0.9888 GB, free: 3.344 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.1526, allocations: 104.9 kB / 0.9889 GB, free: 3.234 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.553e-05/0.1527, allocations: 41.52 kB / 0.989 GB, free: 3.191 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1527, allocations: 4 kB / 0.989 GB, free: 3.188 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001516/0.1528, allocations: 51.72 kB / 0.989 GB, free: 3.137 MB / 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.0001127/0.1529, allocations: 147.7 kB / 0.9892 GB, free: 2.984 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.48e-05/0.153, allocations: 16.8 kB / 0.9892 GB, free: 2.965 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.153, allocations: 4 kB / 0.9892 GB, free: 2.961 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.41e-07/0.153, allocations: 0 / 0.9892 GB, free: 2.961 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.1532, allocations: 469.8 kB / 0.9896 GB, free: 2.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006142/0.1538, allocations: 440 kB / 0.99 GB, free: 2.035 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.027e-05/0.1539, allocations: 83.31 kB / 0.9901 GB, free: 1.934 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.215e-05/0.1539, allocations: 8.719 kB / 0.9901 GB, free: 1.926 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.1539, allocations: 55.38 kB / 0.9902 GB, free: 1.871 MB / 0.948 GB Notification: Performance of SimCode: time 1.242e-06/0.1539, allocations: 0 / 0.9902 GB, free: 1.871 MB / 0.948 GB Notification: Performance of Templates: time 0.002242/0.1562, allocations: 340.4 kB / 0.9905 GB, free: 1.539 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.387999624945223]