Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001239/0.001239, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001289/0.001289, allocations: 181 kB / 24.09 MB, free: 420 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.004/1.004, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.923/1.923, allocations: 377.9 MB / 0.6239 GB, free: 8.414 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.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_12_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_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.865e-06/2.865e-06, allocations: 0 / 0.812 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.104e-05/3.39e-05, allocations: 2.312 kB / 0.812 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1395/0.1396, allocations: 142.9 MB / 0.9515 GB, free: 2.09 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0004368/0.14, allocations: 279.1 kB / 0.9518 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.1401, allocations: 11.94 kB / 0.9518 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.1404, allocations: 95.27 kB / 0.9519 GB, free: 1.711 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.1405, allocations: 95.27 kB / 0.952 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001241/0.1406, allocations: 63.91 kB / 0.9521 GB, free: 1.555 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000253/0.1409, allocations: 334.5 kB / 0.9524 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.1411, allocations: 133.4 kB / 0.9525 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002533/0.1413, allocations: 191.5 kB / 0.9527 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.902e-05/0.1414, allocations: 91.7 kB / 0.9528 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.1415, allocations: 20 kB / 0.9528 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 2.304e-05/0.1415, allocations: 24 kB / 0.9528 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 6.791e-05/0.1415, allocations: 87.72 kB / 0.9529 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.582e-05/0.1416, allocations: 79.78 kB / 0.953 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.1418, allocations: 195.1 kB / 0.9532 GB, free: 432 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.1418, allocations: 0 / 0.9532 GB, free: 432 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1418, allocations: 0 / 0.9532 GB, free: 432 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.1418, allocations: 0 / 0.9532 GB, free: 432 kB / 0.9011 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.0004893/0.1423, allocations: 0.5469 MB / 0.9537 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.1423, allocations: 8.031 kB / 0.9537 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.058e-05/0.1424, allocations: 52.75 kB / 0.9537 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.1426, allocations: 222.8 kB / 0.954 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.1426, allocations: 21.03 kB / 0.954 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.1426, allocations: 32.31 kB / 0.954 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.1428, allocations: 289.9 kB / 0.9543 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1428, allocations: 7.984 kB / 0.9543 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.1428, allocations: 12 kB / 0.9543 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.1428, allocations: 12 kB / 0.9543 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.672e-05/0.1429, allocations: 75.69 kB / 0.9544 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008268/0.1437, allocations: 2.282 MB / 0.9566 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.554e-05/0.1438, allocations: 261.4 kB / 0.9569 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.696e-05/0.1438, allocations: 126.9 kB / 0.957 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.1439, allocations: 123.2 kB / 0.9571 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.1439, allocations: 156.6 kB / 0.9573 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.1439, allocations: 0 / 0.9573 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 4.783e-05/0.1439, allocations: 41.59 kB / 0.9573 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.144, allocations: 170.6 kB / 0.9575 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.1441, allocations: 224.5 kB / 0.9577 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.982e-06/0.1441, allocations: 25.7 kB / 0.9577 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.756e-05/0.1442, allocations: 238.7 kB / 0.9579 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.1442, allocations: 4 kB / 0.9579 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.1442, allocations: 27.36 kB / 0.958 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1443, allocations: 0.4884 MB / 0.9584 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.082e-06/0.1443, allocations: 4 kB / 0.9584 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.566e-05/0.1443, allocations: 46.42 kB / 0.9585 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.297e-05/0.1444, allocations: 62.31 kB / 0.9585 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1444, allocations: 0 / 0.9585 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.239e-05/0.1445, allocations: 73.47 kB / 0.9586 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.1445, allocations: 4 kB / 0.9586 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.1445, allocations: 0 / 0.9586 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.1445, allocations: 8.156 kB / 0.9586 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.682e-05/0.1445, allocations: 8 kB / 0.9586 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.1445, allocations: 3.938 kB / 0.9586 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.842e-05/0.1446, allocations: 4 kB / 0.9586 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.1446, allocations: 0 / 0.9586 GB, free: 10.45 MB / 0.9167 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 9.34e-05/0.1447, allocations: 291.7 kB / 0.9589 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.1447, allocations: 152.8 kB / 0.9591 GB, free: 10 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.804e-05/0.1447, allocations: 157.3 kB / 0.9592 GB, free: 9.844 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.243e-05/0.1448, allocations: 272.1 kB / 0.9595 GB, free: 9.57 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.211e-05/0.1449, allocations: 272 kB / 0.9597 GB, free: 9.297 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.992e-05/0.1449, allocations: 268.2 kB / 0.96 GB, free: 9.027 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.1451, allocations: 0.516 MB / 0.9605 GB, free: 8.477 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001695/0.1453, allocations: 149 kB / 0.9606 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.241e-05/0.1453, allocations: 160.8 kB / 0.9608 GB, free: 8.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.957e-05/0.1453, allocations: 272 kB / 0.961 GB, free: 7.887 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-05/0.1454, allocations: 264.3 kB / 0.9613 GB, free: 7.621 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.922e-05/0.1454, allocations: 268.1 kB / 0.9615 GB, free: 7.352 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.357e-05/0.1455, allocations: 272 kB / 0.9618 GB, free: 7.078 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.1456, allocations: 455.9 kB / 0.9622 GB, free: 6.605 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.1456, allocations: 164.7 kB / 0.9624 GB, free: 6.438 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.556e-05/0.1457, allocations: 264.1 kB / 0.9627 GB, free: 6.172 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.177e-05/0.1458, allocations: 156.8 kB / 0.9628 GB, free: 6.012 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.479e-05/0.1458, allocations: 268.1 kB / 0.9631 GB, free: 5.742 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.1458, allocations: 148.8 kB / 0.9632 GB, free: 5.59 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.441e-05/0.1459, allocations: 153 kB / 0.9633 GB, free: 5.441 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1459, allocations: 0 / 0.9633 GB, free: 5.441 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001672/0.1461, allocations: 47.78 kB / 0.9634 GB, free: 5.395 MB / 0.9167 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 9.621e-05/0.1462, allocations: 214.4 kB / 0.9636 GB, free: 5.176 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.158e-05/0.1462, allocations: 23.61 kB / 0.9636 GB, free: 5.148 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1462, allocations: 4.312 kB / 0.9636 GB, free: 5.145 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.61e-07/0.1462, allocations: 0 / 0.9636 GB, free: 5.145 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.1465, allocations: 0.71 MB / 0.9643 GB, free: 4.43 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005173/0.147, allocations: 474.4 kB / 0.9648 GB, free: 3.93 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.577e-05/0.147, allocations: 91.3 kB / 0.9649 GB, free: 3.82 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.635e-05/0.1471, allocations: 0.7344 kB / 0.9649 GB, free: 3.82 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.967e-05/0.1471, allocations: 78.2 kB / 0.9649 GB, free: 3.742 MB / 0.9167 GB Notification: Performance of SimCode: time 6.51e-07/0.1471, allocations: 0 / 0.9649 GB, free: 3.742 MB / 0.9167 GB Notification: Performance of Templates: time 0.002044/0.1491, allocations: 340.4 kB / 0.9653 GB, free: 3.41 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.087639024015516]