Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009802/0.0009802, allocations: 81.86 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.001434/0.001434, allocations: 181 kB / 24.09 MB, free: 416 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 0.9693/0.9693, 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.841/1.841, allocations: 377.9 MB / 0.624 GB, free: 8.395 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.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_12_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_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0.7656 kB / 0.812 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.589e-05/1.704e-05, allocations: 2.312 kB / 0.812 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1275/0.1275, allocations: 129.7 MB / 0.9387 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0004712/0.128, allocations: 287.1 kB / 0.939 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.1281, allocations: 15.88 kB / 0.939 GB, free: 14.97 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.1284, allocations: 91.28 kB / 0.9391 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002729/0.1287, allocations: 95.31 kB / 0.9392 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001274/0.1288, allocations: 63.91 kB / 0.9393 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.1291, allocations: 310.6 kB / 0.9396 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.1293, allocations: 96.3 kB / 0.9397 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.1295, allocations: 155.7 kB / 0.9398 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.1297, allocations: 135.6 kB / 0.9399 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.1297, allocations: 16 kB / 0.9399 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.999e-05/0.1297, allocations: 16 kB / 0.94 GB, free: 14 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 6.854e-05/0.1298, allocations: 67.81 kB / 0.94 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.56e-05/0.1298, allocations: 67.84 kB / 0.9401 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.13, allocations: 159.2 kB / 0.9402 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.13, allocations: 0 / 0.9402 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.723e-06/0.13, allocations: 0 / 0.9402 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.13, allocations: 4 kB / 0.9402 GB, free: 13.71 MB / 0.9011 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.0003949/0.1304, allocations: 0.5079 MB / 0.9407 GB, free: 13.17 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.1305, allocations: 8.031 kB / 0.9407 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.429e-05/0.1305, allocations: 48.75 kB / 0.9408 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.1308, allocations: 220.2 kB / 0.941 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.1308, allocations: 16.88 kB / 0.941 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.1308, allocations: 20.38 kB / 0.941 GB, free: 12.83 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.1311, allocations: 291.5 kB / 0.9413 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1311, allocations: 4.125 kB / 0.9413 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.1311, allocations: 16.12 kB / 0.9413 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.1311, allocations: 8 kB / 0.9413 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.919e-05/0.1312, allocations: 79.64 kB / 0.9414 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.1322, allocations: 2.592 MB / 0.944 GB, free: 9.68 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.1323, allocations: 273.4 kB / 0.9442 GB, free: 9.398 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.867e-05/0.1324, allocations: 126.9 kB / 0.9443 GB, free: 9.27 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.1324, allocations: 119.2 kB / 0.9444 GB, free: 9.152 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/0.1324, allocations: 152.6 kB / 0.9446 GB, free: 8.992 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 2.484e-06/0.1324, allocations: 8 kB / 0.9446 GB, free: 8.984 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 6.253e-05/0.1325, allocations: 37.59 kB / 0.9446 GB, free: 8.941 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.1326, allocations: 170.6 kB / 0.9448 GB, free: 8.762 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.1327, allocations: 231.6 kB / 0.945 GB, free: 8.52 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.1327, allocations: 25.7 kB / 0.945 GB, free: 8.488 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 9.252e-05/0.1328, allocations: 226.6 kB / 0.9453 GB, free: 8.258 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.1328, allocations: 4 kB / 0.9453 GB, free: 8.254 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.1328, allocations: 31.31 kB / 0.9453 GB, free: 8.215 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1329, allocations: 0.4922 MB / 0.9458 GB, free: 7.711 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.1329, allocations: 11.97 kB / 0.9458 GB, free: 7.699 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.148e-05/0.133, allocations: 69.5 kB / 0.9459 GB, free: 7.598 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.915e-05/0.1331, allocations: 97.34 kB / 0.9459 GB, free: 7.469 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1331, allocations: 0 / 0.9459 GB, free: 7.469 MB / 0.9011 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001231/0.1332, allocations: 89.45 kB / 0.946 GB, free: 7.375 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1332, allocations: 4 kB / 0.946 GB, free: 7.371 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1332, allocations: 4 kB / 0.946 GB, free: 7.367 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1332, allocations: 4 kB / 0.946 GB, free: 7.363 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.797e-05/0.1333, allocations: 12 kB / 0.9461 GB, free: 7.352 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.1333, allocations: 7.922 kB / 0.9461 GB, free: 7.344 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.528e-05/0.1333, allocations: 7.953 kB / 0.9461 GB, free: 7.336 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.1333, allocations: 4 kB / 0.9461 GB, free: 7.332 MB / 0.9011 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.0001093/0.1334, allocations: 287.9 kB / 0.9463 GB, free: 7.039 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.538e-05/0.1335, allocations: 160.8 kB / 0.9465 GB, free: 6.875 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.018e-05/0.1335, allocations: 161.4 kB / 0.9467 GB, free: 6.711 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.09e-05/0.1336, allocations: 264.1 kB / 0.9469 GB, free: 6.445 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.293e-05/0.1337, allocations: 272 kB / 0.9472 GB, free: 6.172 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.794e-05/0.1337, allocations: 264.1 kB / 0.9474 GB, free: 5.906 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.1339, allocations: 0.5159 MB / 0.9479 GB, free: 5.355 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.166e-05/0.134, allocations: 153 kB / 0.9481 GB, free: 5.199 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.694e-05/0.134, allocations: 144.9 kB / 0.9482 GB, free: 5.051 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.935e-05/0.1341, allocations: 276 kB / 0.9485 GB, free: 4.773 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.647e-05/0.1341, allocations: 272.1 kB / 0.9487 GB, free: 4.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.364e-05/0.1342, allocations: 272 kB / 0.949 GB, free: 4.227 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.526e-05/0.1343, allocations: 268.2 kB / 0.9492 GB, free: 3.957 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.1345, allocations: 463.8 kB / 0.9497 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.1345, allocations: 152.8 kB / 0.9498 GB, free: 3.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-05/0.1346, allocations: 268 kB / 0.9501 GB, free: 3.051 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.278e-05/0.1347, allocations: 152.9 kB / 0.9502 GB, free: 2.895 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.596e-05/0.1348, allocations: 268.1 kB / 0.9505 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.645e-05/0.1348, allocations: 148.8 kB / 0.9506 GB, free: 2.473 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 8.671e-05/0.1349, allocations: 159.4 kB / 0.9508 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.1349, allocations: 0 / 0.9508 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002612/0.1352, allocations: 39.84 kB / 0.9508 GB, free: 2.277 MB / 0.9011 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.000121/0.1353, allocations: 214.4 kB / 0.951 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 8.828e-05/0.1354, allocations: 39.47 kB / 0.9511 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1354, allocations: 0 / 0.9511 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.1354, allocations: 7.938 kB / 0.9511 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.1357, allocations: 0.71 MB / 0.9518 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005583/0.1363, allocations: 427.4 kB / 0.9522 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.142e-05/0.1363, allocations: 87.31 kB / 0.9523 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 4.154e-05/0.1364, allocations: 8.484 kB / 0.9523 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.1364, allocations: 74.2 kB / 0.9523 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of SimCode: time 9.82e-07/0.1364, allocations: 0 / 0.9523 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of Templates: time 0.002168/0.1386, allocations: 376.5 kB / 0.9527 GB, free: 300 kB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 5.084621218033135]