Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001182/0.001182, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001245/0.001245, allocations: 173 kB / 23.49 MB, free: 1.059 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.9846/0.9846, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.243/2.243, allocations: 429.5 MB / 0.6736 GB, free: 4.062 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.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_latest_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_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.8782 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.144e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1801/0.1802, allocations: 170.7 MB / 1.045 GB, free: 11.34 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.008152/0.1883, allocations: 9.843 MB / 1.055 GB, free: 1.465 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003101/0.1886, allocations: 15.88 kB / 1.055 GB, free: 1.449 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005673/0.1892, allocations: 198.6 kB / 1.055 GB, free: 1.254 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.1894, allocations: 99.19 kB / 1.055 GB, free: 1.156 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.1896, allocations: 67.89 kB / 1.055 GB, free: 1.09 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0003714/0.19, allocations: 338.5 kB / 1.055 GB, free: 0.7578 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002748/0.1903, allocations: 133.3 kB / 1.055 GB, free: 0.6289 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003996/0.1907, allocations: 239.4 kB / 1.056 GB, free: 404 kB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.1908, allocations: 91.7 kB / 1.056 GB, free: 312 kB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.1908, allocations: 20 kB / 1.056 GB, free: 292 kB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 2.373e-05/0.1908, allocations: 20 kB / 1.056 GB, free: 272 kB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 8.348e-05/0.1909, allocations: 83.72 kB / 1.056 GB, free: 188 kB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 7.624e-05/0.191, allocations: 83.78 kB / 1.056 GB, free: 104 kB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.5586/0.7496, allocations: 185.5 kB / 1.056 GB, free: 48.24 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.329e-05/0.7496, allocations: 0 / 1.056 GB, free: 48.24 MB / 1.01 GB Notification: Performance of FrontEnd: time 3.917e-06/0.7496, allocations: 0.5938 kB / 1.056 GB, free: 48.24 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.505e-05/0.7496, allocations: 0 / 1.056 GB, free: 48.24 MB / 1.01 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.0007225/0.7503, allocations: 0.5444 MB / 1.057 GB, free: 47.84 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.873e-05/0.7504, allocations: 11.75 kB / 1.057 GB, free: 47.84 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.7505, allocations: 51.5 kB / 1.057 GB, free: 47.82 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.7509, allocations: 223.7 kB / 1.057 GB, free: 47.68 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.7509, allocations: 19.84 kB / 1.057 GB, free: 47.68 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.7509, allocations: 24.34 kB / 1.057 GB, free: 47.68 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003798/0.7513, allocations: 301.5 kB / 1.057 GB, free: 47.49 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.7513, allocations: 3.562 kB / 1.057 GB, free: 47.49 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.7514, allocations: 13.97 kB / 1.057 GB, free: 47.49 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.7514, allocations: 6.438 kB / 1.057 GB, free: 47.49 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.7515, allocations: 88.11 kB / 1.057 GB, free: 47.49 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.753, allocations: 2.33 MB / 1.06 GB, free: 45.4 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.7531, allocations: 261.4 kB / 1.06 GB, free: 45.13 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.459e-05/0.7531, allocations: 127.5 kB / 1.06 GB, free: 45 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.7531, allocations: 122.1 kB / 1.06 GB, free: 44.88 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/0.7532, allocations: 159.6 kB / 1.06 GB, free: 44.72 MB / 1.01 GB Notification: Performance of pre-optimization done (n=0): time 4.288e-06/0.7532, allocations: 1.188 kB / 1.06 GB, free: 44.72 MB / 1.01 GB Notification: Performance of matching and sorting (n=0): time 9.897e-05/0.7533, allocations: 42.83 kB / 1.06 GB, free: 44.68 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.7533, allocations: 174.4 kB / 1.06 GB, free: 44.5 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.7535, allocations: 217.2 kB / 1.061 GB, free: 44.34 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.724e-06/0.7535, allocations: 26.52 kB / 1.061 GB, free: 44.3 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.7536, allocations: 242.4 kB / 1.061 GB, free: 44.12 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.16e-06/0.7536, allocations: 1.25 kB / 1.061 GB, free: 44.12 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.7537, allocations: 25.03 kB / 1.061 GB, free: 44.09 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.363e-05/0.7538, allocations: 0.4901 MB / 1.061 GB, free: 43.6 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.016e-05/0.7538, allocations: 7.406 kB / 1.061 GB, free: 43.6 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.113e-05/0.7538, allocations: 44.75 kB / 1.061 GB, free: 43.54 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.695e-05/0.7539, allocations: 55.62 kB / 1.061 GB, free: 43.48 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.7539, allocations: 0.5312 kB / 1.061 GB, free: 43.48 MB / 1.01 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001679/0.7541, allocations: 74.98 kB / 1.062 GB, free: 43.45 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.7541, allocations: 13.16 kB / 1.062 GB, free: 43.45 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.7541, allocations: 0 / 1.062 GB, free: 43.45 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.7541, allocations: 4.25 kB / 1.062 GB, free: 43.45 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.379e-05/0.7542, allocations: 11.67 kB / 1.062 GB, free: 43.45 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.7542, allocations: 0 / 1.062 GB, free: 43.45 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.659e-05/0.7542, allocations: 6.891 kB / 1.062 GB, free: 43.44 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.7542, allocations: 4.031 kB / 1.062 GB, free: 43.44 MB / 1.01 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 0.0001044/0.7544, allocations: 285.6 kB / 1.062 GB, free: 43.16 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.7544, allocations: 152.4 kB / 1.062 GB, free: 43.01 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.722e-05/0.7545, allocations: 162.4 kB / 1.062 GB, free: 42.86 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-05/0.7545, allocations: 272.1 kB / 1.062 GB, free: 42.59 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-05/0.7546, allocations: 270.1 kB / 1.063 GB, free: 42.32 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.298e-05/0.7546, allocations: 270.9 kB / 1.063 GB, free: 42.06 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.7549, allocations: 0.5553 MB / 1.063 GB, free: 41.54 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.688e-05/0.7549, allocations: 155.1 kB / 1.064 GB, free: 41.39 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.725e-05/0.7549, allocations: 144.9 kB / 1.064 GB, free: 41.24 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.542e-05/0.755, allocations: 272.4 kB / 1.064 GB, free: 40.98 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.763e-05/0.755, allocations: 267.9 kB / 1.064 GB, free: 40.71 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-05/0.7551, allocations: 272.5 kB / 1.065 GB, free: 40.44 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.307e-05/0.7551, allocations: 274.2 kB / 1.065 GB, free: 40.18 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.7553, allocations: 447.5 kB / 1.065 GB, free: 39.72 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.7553, allocations: 163.2 kB / 1.065 GB, free: 39.57 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.692e-05/0.7554, allocations: 270.4 kB / 1.066 GB, free: 39.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.927e-05/0.7554, allocations: 152.3 kB / 1.066 GB, free: 39.15 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/0.7555, allocations: 267.1 kB / 1.066 GB, free: 38.88 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.7555, allocations: 151.2 kB / 1.066 GB, free: 38.73 MB / 1.01 GB Notification: Performance of sorting global known variables: time 8.437e-05/0.7556, allocations: 160 kB / 1.066 GB, free: 38.61 MB / 1.01 GB Notification: Performance of sort global known variables: time 4.41e-07/0.7556, allocations: 0.5469 kB / 1.066 GB, free: 38.61 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000204/0.7558, allocations: 44.03 kB / 1.066 GB, free: 38.6 MB / 1.01 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.0001813/0.756, allocations: 214.7 kB / 1.067 GB, free: 38.39 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001382/0.7561, allocations: 28.84 kB / 1.067 GB, free: 38.38 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.7561, allocations: 0 / 1.067 GB, free: 38.38 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 2.645e-06/0.7561, allocations: 5.172 kB / 1.067 GB, free: 38.38 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.7565, allocations: 0.7071 MB / 1.067 GB, free: 37.68 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009715/0.7574, allocations: 471 kB / 1.068 GB, free: 37.34 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.782e-05/0.7575, allocations: 86.98 kB / 1.068 GB, free: 37.27 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 6.414e-05/0.7576, allocations: 8.312 kB / 1.068 GB, free: 37.27 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.7576, allocations: 11.56 kB / 1.068 GB, free: 37.26 MB / 1.01 GB Notification: Performance of SimCode: time 2.315e-06/0.7576, allocations: 0 / 1.068 GB, free: 37.26 MB / 1.01 GB Notification: Performance of Templates: time 0.00305/0.7606, allocations: 335.5 kB / 1.068 GB, free: 37.23 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.622012140927836]