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.0009907/0.0009907, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.00099/0.00099, 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 1.01/1.01, allocations: 177.1 MB / 204.2 MB, free: 5.207 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.895/1.895, allocations: 377.8 MB / 0.6236 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 177] 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.834e-06/1.834e-06, allocations: 0 / 0.8116 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.1e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1377/0.1377, allocations: 145.6 MB / 0.9537 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0004588/0.1382, allocations: 275.1 kB / 0.954 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.1383, allocations: 15.88 kB / 0.954 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003428/0.1387, allocations: 95.27 kB / 0.9541 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.1388, allocations: 91.27 kB / 0.9542 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.139, allocations: 63.91 kB / 0.9543 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.1393, allocations: 334.5 kB / 0.9546 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002567/0.1395, allocations: 133.4 kB / 0.9547 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003134/0.1398, allocations: 187.6 kB / 0.9549 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.1399, allocations: 95.69 kB / 0.955 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.14, allocations: 23.94 kB / 0.955 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 2.538e-05/0.14, allocations: 24 kB / 0.955 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 7.431e-05/0.1401, allocations: 83.73 kB / 0.9551 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.307e-05/0.1401, allocations: 83.77 kB / 0.9552 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.1403, allocations: 187.2 kB / 0.9554 GB, free: 14 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1403, allocations: 0 / 0.9554 GB, free: 14 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1403, allocations: 0 / 0.9554 GB, free: 14 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.1403, 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.0004197/0.1408, allocations: 0.5431 MB / 0.9559 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1408, allocations: 8.031 kB / 0.9559 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.419e-05/0.1409, allocations: 56.75 kB / 0.9559 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.1411, allocations: 226.6 kB / 0.9562 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.1411, allocations: 21.03 kB / 0.9562 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.1411, allocations: 24.38 kB / 0.9562 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/0.1414, allocations: 309.9 kB / 0.9565 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.1414, allocations: 3.984 kB / 0.9565 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.1415, allocations: 12 kB / 0.9565 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.1415, allocations: 8 kB / 0.9565 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.1416, allocations: 91.69 kB / 0.9566 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.1428, allocations: 2.32 MB / 0.9589 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.484e-05/0.1429, allocations: 265.4 kB / 0.9591 GB, free: 9.902 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.63e-05/0.1429, allocations: 130.9 kB / 0.9593 GB, free: 9.77 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.1429, allocations: 123.2 kB / 0.9594 GB, free: 9.648 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.143, allocations: 152.6 kB / 0.9595 GB, free: 9.488 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.143, allocations: 0 / 0.9595 GB, free: 9.488 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 6.059e-05/0.143, allocations: 37.66 kB / 0.9596 GB, free: 9.445 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.1431, allocations: 178.6 kB / 0.9597 GB, free: 9.258 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.1432, allocations: 224.3 kB / 0.9599 GB, free: 9.023 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.156e-06/0.1432, allocations: 25.7 kB / 0.96 GB, free: 8.992 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.1433, allocations: 238.7 kB / 0.9602 GB, free: 8.754 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.1433, allocations: 0 / 0.9602 GB, free: 8.754 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.1434, allocations: 27.31 kB / 0.9602 GB, free: 8.719 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.1435, allocations: 0.4961 MB / 0.9607 GB, free: 8.211 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.809e-06/0.1435, allocations: 4 kB / 0.9607 GB, free: 8.207 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.746e-05/0.1435, allocations: 50.42 kB / 0.9608 GB, free: 8.137 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.098e-05/0.1436, allocations: 58.38 kB / 0.9608 GB, free: 8.059 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1436, allocations: 0 / 0.9608 GB, free: 8.059 MB / 0.9167 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001043/0.1437, allocations: 73.47 kB / 0.9609 GB, free: 7.98 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.1437, allocations: 4 kB / 0.9609 GB, free: 7.977 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1437, allocations: 4 kB / 0.9609 GB, free: 7.973 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1437, allocations: 0 / 0.9609 GB, free: 7.973 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.339e-05/0.1438, allocations: 12.16 kB / 0.9609 GB, free: 7.961 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1438, allocations: 3.984 kB / 0.9609 GB, free: 7.957 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.88e-05/0.1438, allocations: 4 kB / 0.9609 GB, free: 7.953 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.1438, allocations: 4 kB / 0.9609 GB, free: 7.949 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.219e-05/0.1439, allocations: 283.6 kB / 0.9612 GB, free: 7.66 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.547e-05/0.1439, allocations: 156.8 kB / 0.9613 GB, free: 7.5 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.036e-05/0.144, allocations: 153.4 kB / 0.9615 GB, free: 7.348 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.245e-05/0.144, allocations: 276 kB / 0.9617 GB, free: 7.07 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-05/0.1441, allocations: 264.1 kB / 0.962 GB, free: 6.805 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.388e-05/0.1441, allocations: 272 kB / 0.9623 GB, free: 6.531 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.1443, allocations: 0.5623 MB / 0.9628 GB, free: 5.926 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.846e-05/0.1444, allocations: 153 kB / 0.9629 GB, free: 5.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.182e-05/0.1444, allocations: 152.8 kB / 0.9631 GB, free: 5.613 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.401e-05/0.1445, allocations: 264.1 kB / 0.9633 GB, free: 5.348 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.829e-05/0.1445, allocations: 268.2 kB / 0.9636 GB, free: 5.078 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.426e-05/0.1446, allocations: 276.1 kB / 0.9639 GB, free: 4.801 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-05/0.1446, allocations: 268.1 kB / 0.9641 GB, free: 4.531 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.1449, allocations: 455.9 kB / 0.9646 GB, free: 4.059 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.1449, allocations: 168.7 kB / 0.9647 GB, free: 3.887 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.355e-05/0.145, allocations: 268.2 kB / 0.965 GB, free: 3.617 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.494e-05/0.1451, allocations: 148.9 kB / 0.9651 GB, free: 3.465 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.1451, allocations: 276 kB / 0.9654 GB, free: 3.188 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.1452, allocations: 148.9 kB / 0.9655 GB, free: 3.035 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.981e-05/0.1452, allocations: 147.9 kB / 0.9657 GB, free: 2.891 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1452, allocations: 0 / 0.9657 GB, free: 2.891 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001705/0.1454, allocations: 51.78 kB / 0.9657 GB, free: 2.84 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.0001056/0.1455, allocations: 218.4 kB / 0.9659 GB, free: 2.617 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.517e-05/0.1456, allocations: 19.62 kB / 0.9659 GB, free: 2.594 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1456, allocations: 320 / 0.9659 GB, free: 2.594 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.1456, allocations: 7.938 kB / 0.9659 GB, free: 2.586 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.1459, allocations: 0.71 MB / 0.9666 GB, free: 1.871 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006303/0.1465, allocations: 474.5 kB / 0.9671 GB, free: 1.371 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.768e-05/0.1465, allocations: 87.3 kB / 0.9672 GB, free: 1.266 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.397e-05/0.1466, allocations: 8.719 kB / 0.9672 GB, free: 1.258 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.1466, allocations: 16.5 kB / 0.9672 GB, free: 1.238 MB / 0.9167 GB Notification: Performance of SimCode: time 6.61e-07/0.1466, allocations: 0 / 0.9672 GB, free: 1.238 MB / 0.9167 GB Notification: Performance of Templates: time 0.002087/0.1487, allocations: 314.4 kB / 0.9675 GB, free: 0.9336 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.570241718087345]