Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.0009935/0.0009933, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001111/0.001112, allocations: 172.7 kB / 15.95 MB, free: 208 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.576/1.576, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.537/2.537, allocations: 390.9 MB / 0.666 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003996/0.0003998, allocations: 8 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9015/0.9019, allocations: 142.4 MB / 0.9544 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1945/1.096, allocations: 134.2 MB / 1.086 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005231/1.102, allocations: 4.33 MB / 1.09 GB, free: 4.605 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003235/1.102, allocations: 8 kB / 1.09 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004941/1.103, allocations: 111.1 kB / 1.09 GB, free: 4.488 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000323/1.103, allocations: 79.56 kB / 1.09 GB, free: 4.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/1.103, allocations: 43.95 kB / 1.09 GB, free: 4.367 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003997/1.104, allocations: 314.7 kB / 1.09 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002847/1.104, allocations: 110.3 kB / 1.09 GB, free: 3.953 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/1.104, allocations: 87.58 kB / 1.09 GB, free: 3.867 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/1.104, allocations: 131.5 kB / 1.091 GB, free: 3.738 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/1.104, allocations: 4 kB / 1.091 GB, free: 3.734 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.484e-05/1.104, allocations: 4 kB / 1.091 GB, free: 3.73 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.448e-05/1.104, allocations: 47.88 kB / 1.091 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.809e-05/1.104, allocations: 61.58 kB / 1.091 GB, free: 3.617 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/1.105, allocations: 173.5 kB / 1.091 GB, free: 3.449 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.105, allocations: 0 / 1.091 GB, free: 3.449 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.553e-06/1.105, allocations: 4 kB / 1.091 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.648e-06/1.105, allocations: 0 / 1.091 GB, free: 3.445 MB / 0.8419 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.0005068/1.105, allocations: 451.1 kB / 1.091 GB, free: 2.957 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/1.105, allocations: 12.03 kB / 1.091 GB, free: 2.945 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.555e-05/1.105, allocations: 27.66 kB / 1.091 GB, free: 2.918 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/1.106, allocations: 252 kB / 1.092 GB, free: 2.633 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/1.106, allocations: 16.44 kB / 1.092 GB, free: 2.613 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/1.106, allocations: 23.95 kB / 1.092 GB, free: 2.59 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/1.106, allocations: 304.9 kB / 1.092 GB, free: 2.242 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/1.106, allocations: 4 kB / 1.092 GB, free: 2.238 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/1.106, allocations: 12 kB / 1.092 GB, free: 2.227 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/1.106, allocations: 4 kB / 1.092 GB, free: 2.223 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/1.106, allocations: 123.7 kB / 1.092 GB, free: 2.102 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/1.108, allocations: 1.973 MB / 1.094 GB, free: 20 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/1.108, allocations: 169.1 kB / 1.094 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.94e-05/1.108, allocations: 84.14 kB / 1.094 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/1.108, allocations: 75.28 kB / 1.094 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.875e-05/1.108, allocations: 109.8 kB / 1.094 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/1.108, allocations: 4 kB / 1.094 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001078/1.108, allocations: 57.3 kB / 1.094 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/1.108, allocations: 126.7 kB / 1.095 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003884/1.109, allocations: 328.5 kB / 1.095 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/1.109, allocations: 25.7 kB / 1.095 GB, free: 15 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/1.109, allocations: 163.7 kB / 1.095 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-06/1.109, allocations: 0 / 1.095 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-06/1.109, allocations: 0 / 1.095 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.109, allocations: 342.7 kB / 1.095 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.111e-05/1.109, allocations: 11.98 kB / 1.095 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.097e-05/1.109, allocations: 54.91 kB / 1.095 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.538e-05/1.109, allocations: 19.94 kB / 1.095 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.109, allocations: 4 kB / 1.095 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001749/1.109, allocations: 101.2 kB / 1.096 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/1.109, allocations: 8 kB / 1.096 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/1.109, allocations: 256 / 1.096 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/1.109, allocations: 8 kB / 1.096 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.644e-05/1.109, allocations: 12 kB / 1.096 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/1.11, allocations: 7.984 kB / 1.096 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.932e-05/1.11, allocations: 23.69 kB / 1.096 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/1.11, allocations: 4 kB / 1.096 GB, free: 14.21 MB / 0.8575 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.0001488/1.11, allocations: 224.8 kB / 1.096 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.884e-05/1.11, allocations: 124.7 kB / 1.096 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.456e-05/1.11, allocations: 126 kB / 1.096 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.206e-05/1.11, allocations: 180.2 kB / 1.096 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.687e-05/1.11, allocations: 180.3 kB / 1.096 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.284e-05/1.11, allocations: 180.2 kB / 1.097 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/1.11, allocations: 481.1 kB / 1.097 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.249e-05/1.111, allocations: 105 kB / 1.097 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.719e-05/1.111, allocations: 108.9 kB / 1.097 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.038e-05/1.111, allocations: 180.3 kB / 1.097 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.128e-05/1.111, allocations: 180.2 kB / 1.098 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.355e-05/1.111, allocations: 176.3 kB / 1.098 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.555e-05/1.111, allocations: 184.2 kB / 1.098 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/1.111, allocations: 331.5 kB / 1.098 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/1.111, allocations: 209.7 kB / 1.098 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.533e-05/1.111, allocations: 180.3 kB / 1.099 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/1.111, allocations: 104.9 kB / 1.099 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.707e-05/1.112, allocations: 192.2 kB / 1.099 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-05/1.112, allocations: 101 kB / 1.099 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002379/1.112, allocations: 235 kB / 1.099 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.71e-07/1.112, allocations: 0 / 1.099 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003162/1.112, allocations: 27.94 kB / 1.099 GB, free: 10.26 MB / 0.8575 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.0001618/1.112, allocations: 182.4 kB / 1.099 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001142/1.112, allocations: 28.12 kB / 1.099 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.112, allocations: 0 / 1.099 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/1.112, allocations: 4 kB / 1.099 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007986/1.113, allocations: 0.5929 MB / 1.1 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005983/1.114, allocations: 458.6 kB / 1.1 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/1.114, allocations: 0.7404 MB / 1.101 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.249e-05/1.114, allocations: 30.28 kB / 1.101 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/1.114, allocations: 15.44 kB / 1.101 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of SimCode: time 4.3e-07/1.114, allocations: 0 / 1.101 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of Templates: time 0.005365/1.12, allocations: 2.174 MB / 1.103 GB, free: 6.02 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches