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.001156/0.001156, allocations: 92.62 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 184.2 kB / 16.92 MB, free: 6.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.883/2.883, allocations: 462.7 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0008532/0.0008534, allocations: 9.719 kB / 0.9034 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3775, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1804/0.558, allocations: 143.9 MB / 1.2 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005803/0.5638, allocations: 4.561 MB / 1.204 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003717/0.5642, allocations: 11.94 kB / 1.204 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005658/0.5648, allocations: 131.1 kB / 1.204 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004235/0.5652, allocations: 83.56 kB / 1.205 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.5655, allocations: 47.95 kB / 1.205 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005379/0.566, allocations: 366.8 kB / 1.205 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003262/0.5663, allocations: 128.1 kB / 1.205 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002436/0.5666, allocations: 91.52 kB / 1.205 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.5668, allocations: 139.4 kB / 1.205 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.5669, allocations: 8 kB / 1.205 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.435e-05/0.5669, allocations: 4 kB / 1.205 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.751e-05/0.567, allocations: 51.83 kB / 1.205 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.5671, allocations: 109.2 kB / 1.205 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.5673, allocations: 167.8 kB / 1.206 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.5674, allocations: 4 kB / 1.206 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5674, allocations: 0 / 1.206 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.5674, allocations: 0 / 1.206 GB, free: 14.64 MB / 0.9669 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.000518/0.5679, allocations: 451.2 kB / 1.206 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.568, allocations: 11.97 kB / 1.206 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.688e-05/0.568, allocations: 28.59 kB / 1.206 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.5684, allocations: 261.6 kB / 1.206 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.5684, allocations: 16.81 kB / 1.206 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.5684, allocations: 20.38 kB / 1.206 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004595/0.5689, allocations: 309 kB / 1.207 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.5689, allocations: 4 kB / 1.207 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.5689, allocations: 8 kB / 1.207 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.569, allocations: 4 kB / 1.207 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.5692, allocations: 123.7 kB / 1.207 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.5707, allocations: 1.985 MB / 1.209 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.959e-05/0.5708, allocations: 165.1 kB / 1.209 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.614e-05/0.5708, allocations: 80.14 kB / 1.209 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.5709, allocations: 75.28 kB / 1.209 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.143e-05/0.5709, allocations: 109.8 kB / 1.209 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.5709, allocations: 4 kB / 1.209 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.00011/0.571, allocations: 57.3 kB / 1.209 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.5711, allocations: 134.7 kB / 1.209 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003898/0.5715, allocations: 324.5 kB / 1.21 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.5715, allocations: 25.7 kB / 1.21 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.5717, allocations: 167.6 kB / 1.21 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.496e-06/0.5717, allocations: 0 / 1.21 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.5717, allocations: 17.7 kB / 1.21 GB, free: 10 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.5719, allocations: 334.8 kB / 1.21 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.362e-05/0.5719, allocations: 11.98 kB / 1.21 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.094e-05/0.5719, allocations: 54.86 kB / 1.21 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.87e-05/0.572, allocations: 70.73 kB / 1.21 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5721, allocations: 0 / 1.21 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001932/0.5723, allocations: 109.2 kB / 1.21 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.5723, allocations: 8 kB / 1.21 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5723, allocations: 0 / 1.21 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.5723, allocations: 7.938 kB / 1.21 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.744e-05/0.5724, allocations: 15.98 kB / 1.21 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.5724, allocations: 4 kB / 1.21 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.5725, allocations: 27.59 kB / 1.21 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.5725, allocations: 8.188 kB / 1.21 GB, free: 9.297 MB / 0.9669 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.0001486/0.5727, allocations: 217 kB / 1.211 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-05/0.5728, allocations: 120.8 kB / 1.211 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.214e-05/0.5729, allocations: 133.9 kB / 1.211 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.094e-05/0.5729, allocations: 180.3 kB / 1.211 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.012e-05/0.573, allocations: 184.2 kB / 1.211 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.867e-05/0.5731, allocations: 180.3 kB / 1.211 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003143/0.5734, allocations: 477.2 kB / 1.212 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.732e-05/0.5735, allocations: 108.9 kB / 1.212 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.256e-05/0.5735, allocations: 101 kB / 1.212 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-05/0.5736, allocations: 184.2 kB / 1.212 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-05/0.5737, allocations: 188.2 kB / 1.212 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.722e-05/0.5737, allocations: 176.3 kB / 1.213 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.437e-05/0.5738, allocations: 184.2 kB / 1.213 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.574, allocations: 327.5 kB / 1.213 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.5741, allocations: 205.8 kB / 1.213 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.8e-05/0.5742, allocations: 184.2 kB / 1.213 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.5743, allocations: 108.9 kB / 1.214 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/0.5744, allocations: 176.3 kB / 1.214 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.782e-05/0.5745, allocations: 112.9 kB / 1.214 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002494/0.5747, allocations: 239 kB / 1.214 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5747, allocations: 0 / 1.214 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002645/0.575, allocations: 24 kB / 1.214 GB, free: 5.34 MB / 0.9669 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.0001364/0.5751, allocations: 174.5 kB / 1.214 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.652e-05/0.5752, allocations: 23.94 kB / 1.214 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.5752, allocations: 0 / 1.214 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.5752, allocations: 0 / 1.214 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008287/0.5761, allocations: 0.5951 MB / 1.215 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000664/0.5768, allocations: 495.7 kB / 1.215 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.5771, allocations: 0.7443 MB / 1.216 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.5772, allocations: 15.44 kB / 1.216 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of SimCode: time 3.6e-07/0.5772, allocations: 4 kB / 1.216 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of Templates: time 0.00525/0.5824, allocations: 2.567 MB / 1.219 GB, free: 0.6797 MB / 0.9669 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches