Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001108/0.001108, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001269/0.001269, allocations: 169.9 kB / 24.86 MB, free: 9.262 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.9978/0.9978, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.816/1.816, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.766e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1683/0.1684, allocations: 129.7 MB / 0.915 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.0005687/0.1689, allocations: 291.1 kB / 0.9153 GB, free: 9.742 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.1691, allocations: 11.94 kB / 0.9153 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.1694, allocations: 99.2 kB / 0.9154 GB, free: 9.633 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002836/0.1697, allocations: 87.39 kB / 0.9155 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001265/0.1698, allocations: 63.91 kB / 0.9156 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.1701, allocations: 310.6 kB / 0.9159 GB, free: 9.18 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.1703, allocations: 96.3 kB / 0.916 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.1705, allocations: 159.6 kB / 0.9161 GB, free: 8.926 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.1706, allocations: 127.6 kB / 0.9162 GB, free: 8.801 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.1706, allocations: 16 kB / 0.9162 GB, free: 8.785 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.996e-05/0.1707, allocations: 24 kB / 0.9163 GB, free: 8.762 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 6.809e-05/0.1707, allocations: 71.78 kB / 0.9163 GB, free: 8.691 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 5.804e-05/0.1708, allocations: 67.78 kB / 0.9164 GB, free: 8.625 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.171, allocations: 155.3 kB / 0.9165 GB, free: 8.473 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.171, allocations: 4 kB / 0.9165 GB, free: 8.469 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.313e-06/0.171, allocations: 0 / 0.9165 GB, free: 8.469 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.171, allocations: 0 / 0.9165 GB, free: 8.469 MB / 0.8698 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.0003648/0.1713, allocations: 0.504 MB / 0.917 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.1714, allocations: 8.031 kB / 0.917 GB, free: 7.922 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.1714, allocations: 48.75 kB / 0.9171 GB, free: 7.875 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.1716, allocations: 218.6 kB / 0.9173 GB, free: 7.637 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.1716, allocations: 20.88 kB / 0.9173 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.1717, allocations: 20.38 kB / 0.9173 GB, free: 7.598 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003708/0.172, allocations: 287.5 kB / 0.9176 GB, free: 7.246 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.172, allocations: 4.125 kB / 0.9176 GB, free: 7.242 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.1721, allocations: 16.12 kB / 0.9176 GB, free: 7.227 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1721, allocations: 12 kB / 0.9176 GB, free: 7.215 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.551e-05/0.1721, allocations: 67.64 kB / 0.9177 GB, free: 7.148 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009333/0.1731, allocations: 2.6 MB / 0.9203 GB, free: 4.445 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.8e-05/0.1731, allocations: 269.4 kB / 0.9205 GB, free: 4.168 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.974e-05/0.1732, allocations: 126.9 kB / 0.9206 GB, free: 4.039 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.1732, allocations: 119.2 kB / 0.9207 GB, free: 3.922 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/0.1732, allocations: 164.6 kB / 0.9209 GB, free: 3.75 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/0.1732, allocations: 0 / 0.9209 GB, free: 3.75 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 5.752e-05/0.1733, allocations: 33.66 kB / 0.9209 GB, free: 3.711 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.1734, allocations: 170.6 kB / 0.9211 GB, free: 3.531 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.1735, allocations: 225.7 kB / 0.9213 GB, free: 3.293 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.482e-06/0.1735, allocations: 25.7 kB / 0.9213 GB, free: 3.262 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.162e-05/0.1736, allocations: 226.6 kB / 0.9216 GB, free: 3.035 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-06/0.1736, allocations: 11.92 kB / 0.9216 GB, free: 3.023 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.1736, allocations: 31.31 kB / 0.9216 GB, free: 2.984 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1737, allocations: 0.4961 MB / 0.9221 GB, free: 2.477 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-06/0.1737, allocations: 4 kB / 0.9221 GB, free: 2.473 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.987e-05/0.1738, allocations: 77.48 kB / 0.9222 GB, free: 2.363 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.343e-05/0.1738, allocations: 89.36 kB / 0.9222 GB, free: 2.242 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1738, allocations: 0 / 0.9222 GB, free: 2.242 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001123/0.1739, allocations: 93.45 kB / 0.9223 GB, free: 2.145 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.174, allocations: 8 kB / 0.9223 GB, free: 2.137 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.174, allocations: 0 / 0.9223 GB, free: 2.137 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.265e-06/0.174, allocations: 4 kB / 0.9223 GB, free: 2.133 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.632e-05/0.174, allocations: 15.98 kB / 0.9224 GB, free: 2.117 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.174, allocations: 0 / 0.9224 GB, free: 2.117 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.721e-05/0.1741, allocations: 7.953 kB / 0.9224 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.1741, allocations: 4 kB / 0.9224 GB, free: 2.105 MB / 0.8698 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 9.989e-05/0.1742, allocations: 295.8 kB / 0.9226 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/0.1742, allocations: 160.8 kB / 0.9228 GB, free: 1.641 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.086e-05/0.1743, allocations: 161.3 kB / 0.923 GB, free: 1.477 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-05/0.1743, allocations: 264.1 kB / 0.9232 GB, free: 1.211 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.467e-05/0.1744, allocations: 268.1 kB / 0.9235 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.639e-05/0.1744, allocations: 272.1 kB / 0.9237 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.1746, allocations: 0.5199 MB / 0.9242 GB, free: 116 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-05/0.1747, allocations: 148.8 kB / 0.9244 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.038e-05/0.1747, allocations: 144.9 kB / 0.9245 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001995/0.1749, allocations: 272.1 kB / 0.9248 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.568e-05/0.175, allocations: 272 kB / 0.925 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.669e-05/0.175, allocations: 264.1 kB / 0.9253 GB, free: 15 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-05/0.1751, allocations: 280 kB / 0.9255 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.1752, allocations: 447.9 kB / 0.926 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.1752, allocations: 160.7 kB / 0.9261 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.13e-05/0.1753, allocations: 272.1 kB / 0.9264 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.519e-05/0.1754, allocations: 152.8 kB / 0.9265 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.1754, allocations: 264.1 kB / 0.9268 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.1755, allocations: 144.9 kB / 0.9269 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.253e-05/0.1755, allocations: 157.5 kB / 0.9271 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.1755, allocations: 3.938 kB / 0.9271 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001809/0.1757, allocations: 47.84 kB / 0.9271 GB, free: 13.04 MB / 0.8855 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.0001067/0.1758, allocations: 214.4 kB / 0.9273 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 6.436e-05/0.1759, allocations: 23.62 kB / 0.9274 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1759, allocations: 4 kB / 0.9274 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.1759, allocations: 0 / 0.9274 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.1762, allocations: 0.7117 MB / 0.9281 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005456/0.1767, allocations: 435.4 kB / 0.9285 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.503e-05/0.1768, allocations: 83.31 kB / 0.9285 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.121e-05/0.1768, allocations: 8.484 kB / 0.9286 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.1768, allocations: 74.2 kB / 0.9286 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of SimCode: time 9.92e-07/0.1768, allocations: 0 / 0.9286 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of Templates: time 0.002146/0.179, allocations: 388.4 kB / 0.929 GB, free: 11.07 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.230775821954012]