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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009254/0.0009248, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009409/0.0009409, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.901/2.901, allocations: 436.5 MB / 0.7104 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003553, allocations: 8 kB / 0.8708 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9104/0.9108, allocations: 153.7 MB / 1.021 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.183/1.094, allocations: 125.4 MB / 1.143 GB, free: 3.426 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004681/1.099, allocations: 3.96 MB / 1.147 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002945/1.099, allocations: 7.938 kB / 1.147 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002693/1.099, allocations: 51.66 kB / 1.147 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004051/1.1, allocations: 131.6 kB / 1.147 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001536/1.1, allocations: 51.89 kB / 1.147 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004668/1.1, allocations: 247.4 kB / 1.148 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002649/1.101, allocations: 102.4 kB / 1.148 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/1.101, allocations: 87.62 kB / 1.148 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/1.101, allocations: 103.6 kB / 1.148 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/1.101, allocations: 8 kB / 1.148 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 2.095e-05/1.101, allocations: 4 kB / 1.148 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.589e-05/1.101, allocations: 47.83 kB / 1.148 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 5.506e-05/1.101, allocations: 65.58 kB / 1.148 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/1.101, allocations: 165.5 kB / 1.148 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/1.101, allocations: 0 / 1.148 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.793e-06/1.101, allocations: 0 / 1.148 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.372e-06/1.101, allocations: 0 / 1.148 GB, free: 14.4 MB / 0.9044 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.0005069/1.102, allocations: 459.1 kB / 1.149 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/1.102, allocations: 8.031 kB / 1.149 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.461e-05/1.102, allocations: 23.72 kB / 1.149 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/1.102, allocations: 260 kB / 1.149 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/1.102, allocations: 16.44 kB / 1.149 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/1.102, allocations: 16 kB / 1.149 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000437/1.103, allocations: 300.9 kB / 1.149 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/1.103, allocations: 3.938 kB / 1.149 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/1.103, allocations: 12 kB / 1.149 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/1.103, allocations: 8 kB / 1.149 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/1.103, allocations: 131.7 kB / 1.149 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/1.105, allocations: 1.965 MB / 1.151 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.416e-05/1.105, allocations: 169.1 kB / 1.151 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.906e-05/1.105, allocations: 79.22 kB / 1.151 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/1.105, allocations: 109.8 kB / 1.152 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/1.105, allocations: 0 / 1.152 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0001054/1.105, allocations: 53.38 kB / 1.152 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/1.105, allocations: 130.7 kB / 1.152 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003478/1.105, allocations: 328.5 kB / 1.152 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/1.105, allocations: 25.7 kB / 1.152 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/1.105, allocations: 167.6 kB / 1.152 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-06/1.105, allocations: 16 / 1.152 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/1.105, allocations: 8 kB / 1.152 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001664/1.106, allocations: 330.8 kB / 1.153 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.847e-05/1.106, allocations: 7.984 kB / 1.153 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.986e-05/1.106, allocations: 58.83 kB / 1.153 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.828e-05/1.106, allocations: 15.98 kB / 1.153 GB, free: 9.43 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.106, allocations: 0 / 1.153 GB, free: 9.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001874/1.106, allocations: 109.2 kB / 1.153 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/1.106, allocations: 4 kB / 1.153 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/1.106, allocations: 4 kB / 1.153 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/1.106, allocations: 7.953 kB / 1.153 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.664e-05/1.106, allocations: 15.98 kB / 1.153 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/1.106, allocations: 3.938 kB / 1.153 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.377e-05/1.106, allocations: 23.94 kB / 1.153 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/1.106, allocations: 8 kB / 1.153 GB, free: 9.25 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001713/1.106, allocations: 209.1 kB / 1.153 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.308e-05/1.106, allocations: 128.7 kB / 1.153 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.334e-05/1.107, allocations: 130 kB / 1.153 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.303e-05/1.107, allocations: 184.2 kB / 1.153 GB, free: 8.578 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.547e-05/1.107, allocations: 188.2 kB / 1.154 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.712e-05/1.107, allocations: 180.2 kB / 1.154 GB, free: 8.203 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/1.107, allocations: 473.1 kB / 1.154 GB, free: 7.684 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.87e-05/1.107, allocations: 108.9 kB / 1.154 GB, free: 7.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.689e-05/1.107, allocations: 105 kB / 1.154 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-05/1.107, allocations: 184.2 kB / 1.155 GB, free: 7.273 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-05/1.107, allocations: 184.3 kB / 1.155 GB, free: 7.086 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.852e-05/1.107, allocations: 176.3 kB / 1.155 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-05/1.107, allocations: 184.2 kB / 1.155 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/1.108, allocations: 335.4 kB / 1.155 GB, free: 6.367 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/1.108, allocations: 205.8 kB / 1.156 GB, free: 6.141 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.549e-05/1.108, allocations: 180.3 kB / 1.156 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/1.108, allocations: 104.9 kB / 1.156 GB, free: 5.848 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.117e-05/1.108, allocations: 176.3 kB / 1.156 GB, free: 5.668 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-05/1.108, allocations: 112.9 kB / 1.156 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002786/1.108, allocations: 239 kB / 1.156 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/1.108, allocations: 0 / 1.156 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002566/1.109, allocations: 31.94 kB / 1.156 GB, free: 5.289 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001528/1.109, allocations: 174.5 kB / 1.157 GB, free: 5.105 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.441e-05/1.109, allocations: 23.94 kB / 1.157 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.109, allocations: 0 / 1.157 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.288e-06/1.109, allocations: 4 kB / 1.157 GB, free: 5.078 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006958/1.11, allocations: 0.5976 MB / 1.157 GB, free: 4.473 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006057/1.11, allocations: 442.7 kB / 1.158 GB, free: 4.012 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/1.111, allocations: 0.7521 MB / 1.158 GB, free: 3.234 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.87e-05/1.111, allocations: 30.28 kB / 1.158 GB, free: 3.207 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/1.111, allocations: 15.44 kB / 1.158 GB, free: 3.191 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/1.111, allocations: 0 / 1.158 GB, free: 3.191 MB / 0.9044 GB Notification: Performance of Templates: time 0.0051/1.116, allocations: 2.164 MB / 1.161 GB, free: 1.062 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches