Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000989/0.000989, allocations: 93.06 kB / 19.65 MB, free: 284 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.001124/0.001124, allocations: 165.3 kB / 23.02 MB, free: 1.559 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.9959/0.9959, allocations: 177.1 MB / 203.4 MB, free: 5.113 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.121/2.121, allocations: 429.5 MB / 0.6732 GB, free: 4.012 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.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_latest_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_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 3.938 kB / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/1.998e-05, allocations: 3.562 kB / 0.8782 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1225/0.1225, allocations: 132.3 MB / 1.007 GB, free: 1.539 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.1235, allocations: 291 kB / 1.008 GB, free: 1.254 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.1237, allocations: 11.94 kB / 1.008 GB, free: 1.242 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.124, allocations: 91.28 kB / 1.008 GB, free: 1.152 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000381/0.1244, allocations: 95.31 kB / 1.008 GB, free: 1.059 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.1246, allocations: 63.91 kB / 1.008 GB, free: 0.9961 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003702/0.1249, allocations: 315 kB / 1.008 GB, free: 0.6875 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002359/0.1252, allocations: 88.31 kB / 1.008 GB, free: 0.5938 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002265/0.1254, allocations: 163.6 kB / 1.008 GB, free: 444 kB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.1256, allocations: 135.6 kB / 1.009 GB, free: 308 kB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.1256, allocations: 20 kB / 1.009 GB, free: 288 kB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 2.397e-05/0.1256, allocations: 16 kB / 1.009 GB, free: 272 kB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.985e-05/0.1257, allocations: 63.81 kB / 1.009 GB, free: 208 kB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.453e-05/0.1257, allocations: 63.84 kB / 1.009 GB, free: 144 kB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.126, allocations: 159.3 kB / 1.009 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.126, allocations: 0 / 1.009 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.493e-06/0.126, allocations: 0 / 1.009 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.126, allocations: 0 / 1.009 GB, free: 15.98 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.000408/0.1264, allocations: 0.5114 MB / 1.009 GB, free: 15.44 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.1264, allocations: 12.03 kB / 1.009 GB, free: 15.43 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.94e-05/0.1265, allocations: 40.8 kB / 1.009 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.1268, allocations: 224.1 kB / 1.01 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.1268, allocations: 16.88 kB / 1.01 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.1268, allocations: 24.38 kB / 1.01 GB, free: 15.1 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.1271, allocations: 299.5 kB / 1.01 GB, free: 14.74 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.1271, allocations: 4.188 kB / 1.01 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.1272, allocations: 16.12 kB / 1.01 GB, free: 14.72 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.1272, allocations: 8 kB / 1.01 GB, free: 14.71 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.1273, allocations: 83.7 kB / 1.01 GB, free: 14.63 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.1285, allocations: 2.627 MB / 1.013 GB, free: 11.89 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 9.979e-05/0.1286, allocations: 261.4 kB / 1.013 GB, free: 11.62 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.988e-05/0.1287, allocations: 126.9 kB / 1.013 GB, free: 11.49 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.1287, allocations: 127.1 kB / 1.013 GB, free: 11.37 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.851e-05/0.1287, allocations: 164.5 kB / 1.013 GB, free: 11.2 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=0): time 2.224e-06/0.1287, allocations: 0 / 1.013 GB, free: 11.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=0): time 7.017e-05/0.1288, allocations: 37.66 kB / 1.013 GB, free: 11.15 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.1289, allocations: 174.6 kB / 1.013 GB, free: 10.97 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.129, allocations: 229.8 kB / 1.014 GB, free: 10.73 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 7.794e-06/0.129, allocations: 25.7 kB / 1.014 GB, free: 10.7 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 9.94e-05/0.1291, allocations: 230.6 kB / 1.014 GB, free: 10.46 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-06/0.1291, allocations: 0 / 1.014 GB, free: 10.46 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/0.1292, allocations: 27.38 kB / 1.014 GB, free: 10.43 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003947/0.1296, allocations: 0.4961 MB / 1.014 GB, free: 9.922 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.749e-05/0.1296, allocations: 7.984 kB / 1.014 GB, free: 9.914 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.119e-05/0.1296, allocations: 85.42 kB / 1.015 GB, free: 9.797 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.542e-05/0.1297, allocations: 81.44 kB / 1.015 GB, free: 9.684 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1297, allocations: 0 / 1.015 GB, free: 9.684 MB / 0.9792 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001371/0.1298, allocations: 101.4 kB / 1.015 GB, free: 9.578 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1298, allocations: 4 kB / 1.015 GB, free: 9.574 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1298, allocations: 4 kB / 1.015 GB, free: 9.57 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1299, allocations: 0 / 1.015 GB, free: 9.57 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.511e-05/0.1299, allocations: 19.94 kB / 1.015 GB, free: 9.551 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.1299, allocations: 7.984 kB / 1.015 GB, free: 9.543 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.016e-05/0.13, allocations: 11.94 kB / 1.015 GB, free: 9.531 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.13, allocations: 4 kB / 1.015 GB, free: 9.527 MB / 0.9792 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 9.881e-05/0.1301, allocations: 287.9 kB / 1.015 GB, free: 9.234 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.028e-05/0.1301, allocations: 156.8 kB / 1.015 GB, free: 9.074 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.556e-05/0.1302, allocations: 161.4 kB / 1.015 GB, free: 8.914 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.544e-05/0.1302, allocations: 268 kB / 1.016 GB, free: 8.645 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.802e-05/0.1303, allocations: 268.1 kB / 1.016 GB, free: 8.375 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-05/0.1303, allocations: 272 kB / 1.016 GB, free: 8.102 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.1306, allocations: 0.5467 MB / 1.017 GB, free: 7.512 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.572e-05/0.1306, allocations: 153 kB / 1.017 GB, free: 7.355 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.797e-05/0.1307, allocations: 152.8 kB / 1.017 GB, free: 7.199 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.954e-05/0.1307, allocations: 268.1 kB / 1.017 GB, free: 6.93 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.976e-05/0.1308, allocations: 276 kB / 1.017 GB, free: 6.652 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-05/0.1308, allocations: 264.1 kB / 1.018 GB, free: 6.387 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.277e-05/0.1309, allocations: 268.1 kB / 1.018 GB, free: 6.117 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.131, allocations: 463.8 kB / 1.018 GB, free: 5.637 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.1311, allocations: 156.8 kB / 1.019 GB, free: 5.477 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.108e-05/0.1311, allocations: 264.1 kB / 1.019 GB, free: 5.211 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.696e-05/0.1312, allocations: 148.9 kB / 1.019 GB, free: 5.059 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.634e-05/0.1313, allocations: 272 kB / 1.019 GB, free: 4.785 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.1313, allocations: 148.9 kB / 1.019 GB, free: 4.633 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 7.639e-05/0.1314, allocations: 157.5 kB / 1.02 GB, free: 4.48 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.1314, allocations: 4 kB / 1.02 GB, free: 4.477 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0001865/0.1316, allocations: 39.84 kB / 1.02 GB, free: 4.438 MB / 0.9792 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.0001278/0.1317, allocations: 218.4 kB / 1.02 GB, free: 4.215 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 8.634e-05/0.1318, allocations: 35.55 kB / 1.02 GB, free: 4.176 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1318, allocations: 0 / 1.02 GB, free: 4.176 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.1318, allocations: 0 / 1.02 GB, free: 4.176 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.1321, allocations: 0.7062 MB / 1.02 GB, free: 3.465 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006818/0.1328, allocations: 435.4 kB / 1.021 GB, free: 3.008 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.16e-05/0.1328, allocations: 84.05 kB / 1.021 GB, free: 2.906 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 4.348e-05/0.1329, allocations: 8.484 kB / 1.021 GB, free: 2.898 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.1329, allocations: 12.5 kB / 1.021 GB, free: 2.887 MB / 0.9792 GB Notification: Performance of SimCode: time 6.61e-07/0.1329, allocations: 0 / 1.021 GB, free: 2.887 MB / 0.9792 GB Notification: Performance of Templates: time 0.00249/0.1354, allocations: 359.4 kB / 1.021 GB, free: 2.539 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.786273971199989]