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.001425/0.001425, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.00143/0.00143, allocations: 161.4 kB / 23.82 MB, free: 0.75 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.9707/0.9707, allocations: 177.1 MB / 204.2 MB, free: 5.652 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.835/1.835, allocations: 377.8 MB / 0.6236 GB, free: 8.535 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 1.533e-06/1.533e-06, allocations: 0 / 0.8116 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.713e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1318/0.1319, allocations: 145.6 MB / 0.9537 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0006727/0.1325, allocations: 279.1 kB / 0.954 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.1327, allocations: 15.88 kB / 0.954 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004032/0.1331, allocations: 91.28 kB / 0.9541 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.1333, allocations: 91.25 kB / 0.9542 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.1334, allocations: 71.84 kB / 0.9543 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.1337, allocations: 326.5 kB / 0.9546 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.134, allocations: 133.4 kB / 0.9547 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003056/0.1343, allocations: 191.5 kB / 0.9549 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.1344, allocations: 95.69 kB / 0.955 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.1344, allocations: 27.94 kB / 0.955 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 2.546e-05/0.1345, allocations: 20 kB / 0.955 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 7.336e-05/0.1345, allocations: 75.8 kB / 0.9551 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.498e-05/0.1346, allocations: 87.77 kB / 0.9552 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.1348, allocations: 183.2 kB / 0.9554 GB, free: 14 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1348, allocations: 0 / 0.9554 GB, free: 14 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1348, allocations: 0 / 0.9554 GB, free: 14 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.1348, allocations: 0 / 0.9554 GB, free: 14 MB / 0.9167 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.0004192/0.1352, allocations: 0.5469 MB / 0.9559 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1353, allocations: 8.031 kB / 0.9559 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.083e-05/0.1353, allocations: 56.75 kB / 0.9559 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.1356, allocations: 228.2 kB / 0.9562 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.1356, allocations: 24.97 kB / 0.9562 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.1356, allocations: 28.38 kB / 0.9562 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.136, allocations: 309.9 kB / 0.9565 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.136, allocations: 0 / 0.9565 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.136, allocations: 12 kB / 0.9565 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.136, allocations: 8 kB / 0.9565 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.1361, allocations: 91.69 kB / 0.9566 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.1372, allocations: 2.316 MB / 0.9589 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.1373, allocations: 269.4 kB / 0.9591 GB, free: 9.883 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.285e-05/0.1374, allocations: 126.9 kB / 0.9593 GB, free: 9.754 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.1374, allocations: 119.2 kB / 0.9594 GB, free: 9.637 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.1374, allocations: 156.6 kB / 0.9595 GB, free: 9.473 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 1.163e-06/0.1374, allocations: 0 / 0.9595 GB, free: 9.473 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 6.095e-05/0.1375, allocations: 41.64 kB / 0.9596 GB, free: 9.426 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.1375, allocations: 174.5 kB / 0.9597 GB, free: 9.242 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.1377, allocations: 224.3 kB / 0.9599 GB, free: 9.008 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.1377, allocations: 25.7 kB / 0.96 GB, free: 8.977 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.554e-05/0.1378, allocations: 242.8 kB / 0.9602 GB, free: 8.734 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-06/0.1378, allocations: 0 / 0.9602 GB, free: 8.734 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.1378, allocations: 23.38 kB / 0.9602 GB, free: 8.703 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1379, allocations: 0.4961 MB / 0.9607 GB, free: 8.195 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-06/0.1379, allocations: 0 / 0.9607 GB, free: 8.195 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.947e-05/0.138, allocations: 54.42 kB / 0.9608 GB, free: 8.121 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.831e-05/0.138, allocations: 54.38 kB / 0.9608 GB, free: 8.047 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.138, allocations: 4 kB / 0.9608 GB, free: 8.043 MB / 0.9167 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000111/0.1381, allocations: 69.58 kB / 0.9609 GB, free: 7.969 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1381, allocations: 14.59 kB / 0.9609 GB, free: 7.957 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1381, allocations: 0 / 0.9609 GB, free: 7.957 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1382, allocations: 4 kB / 0.9609 GB, free: 7.953 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.3e-05/0.1382, allocations: 4 kB / 0.9609 GB, free: 7.949 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.1382, allocations: 4 kB / 0.9609 GB, free: 7.945 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.933e-05/0.1382, allocations: 3.938 kB / 0.9609 GB, free: 7.941 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.1382, allocations: 8.156 kB / 0.9609 GB, free: 7.934 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.931e-05/0.1383, allocations: 291.6 kB / 0.9612 GB, free: 7.637 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.1384, allocations: 152.8 kB / 0.9613 GB, free: 7.48 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.765e-05/0.1384, allocations: 157.3 kB / 0.9615 GB, free: 7.324 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.486e-05/0.1385, allocations: 272.1 kB / 0.9617 GB, free: 7.051 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.226e-05/0.1385, allocations: 268.1 kB / 0.962 GB, free: 6.781 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.402e-05/0.1386, allocations: 268 kB / 0.9623 GB, free: 6.512 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.1388, allocations: 0.5584 MB / 0.9628 GB, free: 5.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.238e-05/0.1388, allocations: 157 kB / 0.963 GB, free: 5.75 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.216e-05/0.1389, allocations: 148.9 kB / 0.9631 GB, free: 5.598 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.574e-05/0.1389, allocations: 272.1 kB / 0.9634 GB, free: 5.324 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.246e-05/0.139, allocations: 268.2 kB / 0.9636 GB, free: 5.055 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.301e-05/0.1391, allocations: 268.1 kB / 0.9639 GB, free: 4.785 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-05/0.1391, allocations: 280 kB / 0.9641 GB, free: 4.504 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.1393, allocations: 451.9 kB / 0.9646 GB, free: 4.035 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-05/0.1393, allocations: 160.7 kB / 0.9647 GB, free: 3.871 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.153e-05/0.1394, allocations: 268.1 kB / 0.965 GB, free: 3.602 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.178e-05/0.1394, allocations: 148.8 kB / 0.9651 GB, free: 3.449 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/0.1395, allocations: 272.1 kB / 0.9654 GB, free: 3.176 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.1395, allocations: 144.9 kB / 0.9655 GB, free: 3.027 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.865e-05/0.1396, allocations: 155.8 kB / 0.9657 GB, free: 2.871 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1e-07/0.1396, allocations: 4 kB / 0.9657 GB, free: 2.867 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002623/0.1398, allocations: 47.78 kB / 0.9657 GB, free: 2.82 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 0.0001046/0.1399, allocations: 217.1 kB / 0.9659 GB, free: 2.602 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.249e-05/0.14, allocations: 23.61 kB / 0.9659 GB, free: 2.574 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.14, allocations: 0 / 0.9659 GB, free: 2.574 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.14, allocations: 0 / 0.9659 GB, free: 2.574 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.1404, allocations: 0.71 MB / 0.9666 GB, free: 1.859 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006399/0.141, allocations: 482.8 kB / 0.9671 GB, free: 1.352 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.064e-05/0.1411, allocations: 87.3 kB / 0.9672 GB, free: 1.246 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.256e-05/0.1411, allocations: 8.672 kB / 0.9672 GB, free: 1.238 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.255e-05/0.1411, allocations: 12.5 kB / 0.9672 GB, free: 1.223 MB / 0.9167 GB Notification: Performance of SimCode: time 9.72e-07/0.1412, allocations: 0 / 0.9672 GB, free: 1.223 MB / 0.9167 GB Notification: Performance of Templates: time 0.00213/0.1433, allocations: 320.5 kB / 0.9675 GB, free: 0.9102 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.102244892157614]