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.001006/0.001006, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001068/0.001068, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.954/0.954, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.011/2.011, allocations: 429.5 MB / 0.6733 GB, free: 4.062 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.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 2.154e-06/2.154e-06, allocations: 0 / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.168e-05/3.383e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1345/0.1345, allocations: 145.6 MB / 1.02 GB, free: 4.168 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.0006074/0.1351, allocations: 275.1 kB / 1.021 GB, free: 3.898 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001592/0.1353, allocations: 11.94 kB / 1.021 GB, free: 3.887 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0003565/0.1356, allocations: 99.22 kB / 1.021 GB, free: 3.789 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.1358, allocations: 91.25 kB / 1.021 GB, free: 3.699 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.136, allocations: 63.92 kB / 1.021 GB, free: 3.637 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0003321/0.1363, allocations: 334.8 kB / 1.021 GB, free: 3.309 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002644/0.1366, allocations: 129.3 kB / 1.021 GB, free: 3.188 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000345/0.1369, allocations: 195.6 kB / 1.022 GB, free: 2.996 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.137, allocations: 91.69 kB / 1.022 GB, free: 2.906 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.137, allocations: 24 kB / 1.022 GB, free: 2.883 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 2.564e-05/0.1371, allocations: 20 kB / 1.022 GB, free: 2.863 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 7.913e-05/0.1371, allocations: 75.73 kB / 1.022 GB, free: 2.789 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 7.646e-05/0.1372, allocations: 83.84 kB / 1.022 GB, free: 2.707 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.1374, allocations: 191 kB / 1.022 GB, free: 2.52 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1374, allocations: 8 kB / 1.022 GB, free: 2.512 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1374, allocations: 0 / 1.022 GB, free: 2.512 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.1374, allocations: 0 / 1.022 GB, free: 2.512 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0004499/0.1379, allocations: 0.5388 MB / 1.023 GB, free: 1.934 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.1379, allocations: 16.02 kB / 1.023 GB, free: 1.918 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.803e-05/0.138, allocations: 52.75 kB / 1.023 GB, free: 1.867 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.1383, allocations: 229.7 kB / 1.023 GB, free: 1.617 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.1383, allocations: 21.03 kB / 1.023 GB, free: 1.598 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.1383, allocations: 24.38 kB / 1.023 GB, free: 1.574 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/0.1387, allocations: 305.9 kB / 1.023 GB, free: 1.215 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1387, allocations: 0 / 1.023 GB, free: 1.215 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.1387, allocations: 15.98 kB / 1.023 GB, free: 1.199 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.1387, allocations: 8 kB / 1.023 GB, free: 1.191 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.1388, allocations: 91.75 kB / 1.023 GB, free: 1.102 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.14, allocations: 2.324 MB / 1.026 GB, free: 14.68 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.792e-05/0.1401, allocations: 261.4 kB / 1.026 GB, free: 14.41 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.774e-05/0.1401, allocations: 126.9 kB / 1.026 GB, free: 14.28 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.1401, allocations: 127.1 kB / 1.026 GB, free: 14.16 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.1402, allocations: 152.6 kB / 1.026 GB, free: 14 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=0): time 1.293e-06/0.1402, allocations: 0 / 1.026 GB, free: 14 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0): time 6.899e-05/0.1403, allocations: 37.64 kB / 1.026 GB, free: 13.95 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/0.1403, allocations: 170.6 kB / 1.026 GB, free: 13.77 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.1405, allocations: 220.6 kB / 1.027 GB, free: 13.54 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.1405, allocations: 29.7 kB / 1.027 GB, free: 13.51 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.1406, allocations: 242.6 kB / 1.027 GB, free: 13.27 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-06/0.1406, allocations: 4 kB / 1.027 GB, free: 13.26 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.1406, allocations: 23.38 kB / 1.027 GB, free: 13.23 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1407, allocations: 0.4961 MB / 1.027 GB, free: 12.72 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.234e-05/0.1408, allocations: 0 / 1.027 GB, free: 12.72 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/0.1408, allocations: 58.36 kB / 1.027 GB, free: 12.64 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.244e-05/0.1408, allocations: 50.38 kB / 1.027 GB, free: 12.57 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1408, allocations: 4 kB / 1.027 GB, free: 12.57 MB / 0.9948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001186/0.141, allocations: 73.52 kB / 1.028 GB, free: 12.49 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.141, allocations: 4 kB / 1.028 GB, free: 12.49 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.141, allocations: 0 / 1.028 GB, free: 12.49 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.141, allocations: 4 kB / 1.028 GB, free: 12.48 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/0.1411, allocations: 8 kB / 1.028 GB, free: 12.48 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1411, allocations: 0 / 1.028 GB, free: 12.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.125e-05/0.1411, allocations: 7.953 kB / 1.028 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.1411, allocations: 160 / 1.028 GB, free: 12.47 MB / 0.9948 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 0.000103/0.1412, allocations: 287.7 kB / 1.028 GB, free: 12.18 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.518e-05/0.1413, allocations: 160.8 kB / 1.028 GB, free: 12.01 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.682e-05/0.1413, allocations: 153.4 kB / 1.028 GB, free: 11.86 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.236e-05/0.1414, allocations: 276 kB / 1.028 GB, free: 11.58 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.056e-05/0.1414, allocations: 268.1 kB / 1.029 GB, free: 11.31 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-05/0.1415, allocations: 264.1 kB / 1.029 GB, free: 11.04 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.1417, allocations: 0.5622 MB / 1.029 GB, free: 10.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.989e-05/0.1418, allocations: 148.9 kB / 1.03 GB, free: 10.29 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.681e-05/0.1418, allocations: 153 kB / 1.03 GB, free: 10.13 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.478e-05/0.1419, allocations: 272.2 kB / 1.03 GB, free: 9.855 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-05/0.1419, allocations: 272.2 kB / 1.03 GB, free: 9.582 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.576e-05/0.142, allocations: 276 kB / 1.031 GB, free: 9.305 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.465e-05/0.1421, allocations: 268.1 kB / 1.031 GB, free: 9.035 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.1422, allocations: 455.9 kB / 1.031 GB, free: 8.562 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.1423, allocations: 152.8 kB / 1.031 GB, free: 8.406 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-05/0.1424, allocations: 272 kB / 1.032 GB, free: 8.133 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.018e-05/0.1424, allocations: 148.9 kB / 1.032 GB, free: 7.98 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.068e-05/0.1425, allocations: 268 kB / 1.032 GB, free: 7.711 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.1425, allocations: 144.9 kB / 1.032 GB, free: 7.562 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 7.177e-05/0.1426, allocations: 160.8 kB / 1.032 GB, free: 7.406 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.1426, allocations: 0 / 1.032 GB, free: 7.406 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001852/0.1428, allocations: 55.73 kB / 1.032 GB, free: 7.352 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.0001317/0.1429, allocations: 214.4 kB / 1.033 GB, free: 7.133 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 8.699e-05/0.143, allocations: 23.61 kB / 1.033 GB, free: 7.105 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.143, allocations: 0 / 1.033 GB, free: 7.105 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.143, allocations: 0 / 1.033 GB, free: 7.105 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.1433, allocations: 0.7139 MB / 1.033 GB, free: 6.387 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007047/0.144, allocations: 478.8 kB / 1.034 GB, free: 5.879 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.402e-05/0.1441, allocations: 87.3 kB / 1.034 GB, free: 5.773 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 4.135e-05/0.1441, allocations: 4.734 kB / 1.034 GB, free: 5.77 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.1442, allocations: 12.5 kB / 1.034 GB, free: 5.758 MB / 0.9948 GB Notification: Performance of SimCode: time 8.71e-07/0.1442, allocations: 0 / 1.034 GB, free: 5.758 MB / 0.9948 GB Notification: Performance of Templates: time 0.002482/0.1466, allocations: 335.5 kB / 1.034 GB, free: 5.434 MB / 0.9948 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.3537193620577455]