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.00171/0.00171, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.001181/0.001181, allocations: 173.7 kB / 23.27 MB, free: 1.223 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.9608/0.9608, allocations: 177.1 MB / 203.7 MB, free: 5.477 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.669/2.669, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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.535e-06/2.535e-06, allocations: 0 / 0.8898 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.963e-05/4.216e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1384/0.1385, allocations: 129.7 MB / 1.016 GB, free: 7.449 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.0006238/0.1391, allocations: 295 kB / 1.017 GB, free: 7.16 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.1392, allocations: 11.94 kB / 1.017 GB, free: 7.148 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0003817/0.1396, allocations: 91.28 kB / 1.017 GB, free: 7.059 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0002824/0.1399, allocations: 91.31 kB / 1.017 GB, free: 6.969 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001181/0.14, allocations: 63.91 kB / 1.017 GB, free: 6.906 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0002872/0.1403, allocations: 314.6 kB / 1.017 GB, free: 6.598 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.1405, allocations: 96.3 kB / 1.017 GB, free: 6.504 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.1407, allocations: 159.6 kB / 1.018 GB, free: 6.348 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.1409, allocations: 135.6 kB / 1.018 GB, free: 6.215 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.1409, allocations: 16 kB / 1.018 GB, free: 6.199 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 2.244e-05/0.1409, allocations: 16 kB / 1.018 GB, free: 6.184 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 7.441e-05/0.141, allocations: 63.81 kB / 1.018 GB, free: 6.121 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 5.666e-05/0.1411, allocations: 63.84 kB / 1.018 GB, free: 6.059 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.1412, allocations: 159.2 kB / 1.018 GB, free: 5.902 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1412, allocations: 4 kB / 1.018 GB, free: 5.898 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.344e-06/0.1412, allocations: 0 / 1.018 GB, free: 5.898 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.1413, allocations: 0 / 1.018 GB, free: 5.898 MB / 0.9792 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.0004045/0.1417, allocations: 0.5115 MB / 1.019 GB, free: 5.352 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.1417, allocations: 12.62 kB / 1.019 GB, free: 5.34 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.1418, allocations: 40.8 kB / 1.019 GB, free: 5.301 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.142, allocations: 224.1 kB / 1.019 GB, free: 5.055 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.142, allocations: 16.88 kB / 1.019 GB, free: 5.035 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.142, allocations: 20.38 kB / 1.019 GB, free: 5.016 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.1422, allocations: 287.5 kB / 1.019 GB, free: 4.664 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1423, allocations: 4.188 kB / 1.019 GB, free: 4.66 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.1423, allocations: 8.125 kB / 1.019 GB, free: 4.652 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1423, allocations: 8 kB / 1.019 GB, free: 4.645 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.389e-05/0.1423, allocations: 75.7 kB / 1.019 GB, free: 4.57 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.1436, allocations: 2.593 MB / 1.022 GB, free: 1.875 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 8.869e-05/0.1437, allocations: 265.4 kB / 1.022 GB, free: 1.602 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.762e-05/0.1437, allocations: 126.9 kB / 1.022 GB, free: 1.473 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.1438, allocations: 123.1 kB / 1.022 GB, free: 1.352 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.1438, allocations: 160.5 kB / 1.022 GB, free: 1.184 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.1438, allocations: 0 / 1.022 GB, free: 1.184 MB / 0.9792 GB Notification: Performance of matching and sorting (n=0): time 5.66e-05/0.1439, allocations: 37.61 kB / 1.022 GB, free: 1.141 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.1439, allocations: 170.6 kB / 1.023 GB, free: 0.9609 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.1441, allocations: 233.7 kB / 1.023 GB, free: 0.7148 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.1441, allocations: 25.7 kB / 1.023 GB, free: 0.6836 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.1442, allocations: 234.6 kB / 1.023 GB, free: 456 kB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-06/0.1442, allocations: 0 / 1.023 GB, free: 456 kB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.1442, allocations: 31.36 kB / 1.023 GB, free: 416 kB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1444, allocations: 0.4883 MB / 1.024 GB, free: 15.91 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-06/0.1444, allocations: 11.98 kB / 1.024 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.593e-05/0.1444, allocations: 77.42 kB / 1.024 GB, free: 15.79 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.679e-05/0.1445, allocations: 93.47 kB / 1.024 GB, free: 15.66 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.1445, allocations: 0 / 1.024 GB, free: 15.66 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001147/0.1446, allocations: 85.41 kB / 1.024 GB, free: 15.57 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.1446, allocations: 8.25 kB / 1.024 GB, free: 15.56 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1446, allocations: 4 kB / 1.024 GB, free: 15.56 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1446, allocations: 4 kB / 1.024 GB, free: 15.55 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.336e-05/0.1447, allocations: 19.92 kB / 1.024 GB, free: 15.54 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1447, allocations: 4 kB / 1.024 GB, free: 15.53 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.343e-05/0.1447, allocations: 4 kB / 1.024 GB, free: 15.53 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1447, allocations: 4 kB / 1.024 GB, free: 15.52 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.0001053/0.1448, allocations: 291.6 kB / 1.024 GB, free: 15.23 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.159e-05/0.1449, allocations: 156.8 kB / 1.024 GB, free: 15.07 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.757e-05/0.1449, allocations: 161.4 kB / 1.024 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.298e-05/0.145, allocations: 276 kB / 1.025 GB, free: 14.63 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.658e-05/0.1451, allocations: 264.1 kB / 1.025 GB, free: 14.36 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-05/0.1451, allocations: 268 kB / 1.025 GB, free: 14.09 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.1453, allocations: 0.516 MB / 1.026 GB, free: 13.54 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.732e-05/0.1454, allocations: 148.9 kB / 1.026 GB, free: 13.39 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.522e-05/0.1454, allocations: 152.8 kB / 1.026 GB, free: 13.23 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.633e-05/0.1454, allocations: 264.1 kB / 1.026 GB, free: 12.97 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.757e-05/0.1455, allocations: 268 kB / 1.026 GB, free: 12.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.354e-05/0.1456, allocations: 276.1 kB / 1.027 GB, free: 12.42 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.594e-05/0.1456, allocations: 264.1 kB / 1.027 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004395/0.1461, allocations: 463.8 kB / 1.027 GB, free: 11.68 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.1461, allocations: 164.7 kB / 1.028 GB, free: 11.51 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.221e-05/0.1462, allocations: 268.1 kB / 1.028 GB, free: 11.24 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.961e-05/0.1463, allocations: 148.9 kB / 1.028 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.055e-05/0.1463, allocations: 272 kB / 1.028 GB, free: 10.81 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/0.1464, allocations: 148.9 kB / 1.028 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 5.818e-05/0.1464, allocations: 152.2 kB / 1.029 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.11e-07/0.1464, allocations: 0 / 1.029 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001619/0.1466, allocations: 39.84 kB / 1.029 GB, free: 10.47 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.0001305/0.1467, allocations: 214.4 kB / 1.029 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 6.619e-05/0.1468, allocations: 35.55 kB / 1.029 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1468, allocations: 4 kB / 1.029 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.1468, allocations: 0 / 1.029 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.1471, allocations: 0.71 MB / 1.03 GB, free: 9.492 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000562/0.1476, allocations: 427.2 kB / 1.03 GB, free: 9.043 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.004e-05/0.1477, allocations: 83.25 kB / 1.03 GB, free: 8.941 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 3.593e-05/0.1477, allocations: 12.98 kB / 1.03 GB, free: 8.93 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.1478, allocations: 74.2 kB / 1.03 GB, free: 8.855 MB / 0.9948 GB Notification: Performance of SimCode: time 7.11e-07/0.1478, allocations: 0 / 1.03 GB, free: 8.855 MB / 0.9948 GB Notification: Performance of Templates: time 0.002151/0.1499, allocations: 384.6 kB / 1.03 GB, free: 8.48 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.038179779890925]