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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00186/0.00186, allocations: 108 kB / 15.61 MB, free: 152 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.002629/0.002629, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.446/1.446, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.452/2.452, allocations: 390.2 MB / 0.6647 GB, free: 496 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001465, allocations: 67.89 kB / 0.8125 GB, free: 14.51 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8881/0.8895, allocations: 140.3 MB / 0.9496 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.2031/1.093, allocations: 148 MB / 1.094 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005109/1.098, allocations: 4.654 MB / 1.099 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002932/1.098, allocations: 11.94 kB / 1.099 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005577/1.099, allocations: 154.9 kB / 1.099 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003694/1.099, allocations: 91.44 kB / 1.099 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/1.099, allocations: 67.86 kB / 1.099 GB, free: 8.406 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000384/1.1, allocations: 306.6 kB / 1.099 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003178/1.1, allocations: 147.6 kB / 1.099 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/1.1, allocations: 111.5 kB / 1.099 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/1.1, allocations: 151.4 kB / 1.1 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/1.1, allocations: 16 kB / 1.1 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.254e-05/1.101, allocations: 16 kB / 1.1 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.162e-05/1.101, allocations: 67.81 kB / 1.1 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/1.101, allocations: 99.42 kB / 1.1 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002357/1.101, allocations: 229.2 kB / 1.1 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/1.101, allocations: 3.938 kB / 1.1 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/1.101, allocations: 0 / 1.1 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.063e-06/1.101, allocations: 3.984 kB / 1.1 GB, free: 7.281 MB / 0.8575 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.0005139/1.102, allocations: 491.1 kB / 1.101 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/1.102, allocations: 11.97 kB / 1.101 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.283e-05/1.102, allocations: 24.66 kB / 1.101 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/1.102, allocations: 259.8 kB / 1.101 GB, free: 6.426 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/1.102, allocations: 12.81 kB / 1.101 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/1.102, allocations: 28.38 kB / 1.101 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/1.102, allocations: 305 kB / 1.101 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/1.102, allocations: 7.938 kB / 1.101 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/1.102, allocations: 12 kB / 1.101 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/1.102, allocations: 4 kB / 1.101 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/1.103, allocations: 115.8 kB / 1.101 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/1.104, allocations: 1.973 MB / 1.103 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.139e-05/1.104, allocations: 169.1 kB / 1.103 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.45e-05/1.104, allocations: 84.08 kB / 1.103 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/1.104, allocations: 75.28 kB / 1.104 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/1.104, allocations: 109.8 kB / 1.104 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/1.104, allocations: 4 kB / 1.104 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.276e-05/1.104, allocations: 53.34 kB / 1.104 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/1.104, allocations: 130.7 kB / 1.104 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003446/1.105, allocations: 324.5 kB / 1.104 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/1.105, allocations: 25.7 kB / 1.104 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/1.105, allocations: 171.6 kB / 1.104 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-06/1.105, allocations: 4 kB / 1.104 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/1.105, allocations: 21.75 kB / 1.104 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.105, allocations: 338.8 kB / 1.105 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.723e-05/1.105, allocations: 7.938 kB / 1.105 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.386e-05/1.105, allocations: 54.86 kB / 1.105 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.37e-05/1.105, allocations: 74.75 kB / 1.105 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.105, allocations: 0 / 1.105 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000166/1.106, allocations: 101.3 kB / 1.105 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/1.106, allocations: 8 kB / 1.105 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.106, allocations: 0 / 1.105 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/1.106, allocations: 15.86 kB / 1.105 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.717e-05/1.106, allocations: 19.94 kB / 1.105 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/1.106, allocations: 4.391 kB / 1.105 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.726e-05/1.106, allocations: 35.67 kB / 1.105 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/1.106, allocations: 4 kB / 1.105 GB, free: 1.883 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001251/1.106, allocations: 205.1 kB / 1.105 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.83e-05/1.106, allocations: 132.6 kB / 1.105 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.048e-05/1.106, allocations: 126 kB / 1.105 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.924e-05/1.106, allocations: 188.1 kB / 1.106 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-05/1.106, allocations: 184.3 kB / 1.106 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.162e-05/1.106, allocations: 176.3 kB / 1.106 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/1.107, allocations: 481.1 kB / 1.106 GB, free: 324 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.551e-05/1.107, allocations: 101 kB / 1.106 GB, free: 216 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-05/1.107, allocations: 104.9 kB / 1.107 GB, free: 104 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.118e-05/1.107, allocations: 184.2 kB / 1.107 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-05/1.107, allocations: 184.2 kB / 1.107 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.067e-05/1.107, allocations: 180.2 kB / 1.107 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-05/1.107, allocations: 180.3 kB / 1.107 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/1.107, allocations: 335.5 kB / 1.108 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.984e-05/1.107, allocations: 205.8 kB / 1.108 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.061e-05/1.107, allocations: 184.2 kB / 1.108 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/1.107, allocations: 101 kB / 1.108 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/1.107, allocations: 184.2 kB / 1.108 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/1.108, allocations: 105 kB / 1.108 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002152/1.108, allocations: 239 kB / 1.109 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/1.108, allocations: 0 / 1.109 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002484/1.108, allocations: 27.94 kB / 1.109 GB, free: 13.93 MB / 0.8731 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.0001289/1.108, allocations: 170.5 kB / 1.109 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.792e-05/1.108, allocations: 31.86 kB / 1.109 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.108, allocations: 0 / 1.109 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/1.108, allocations: 0.8438 kB / 1.109 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008213/1.109, allocations: 0.5269 MB / 1.109 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005315/1.11, allocations: 396.1 kB / 1.11 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/1.11, allocations: 0.744 MB / 1.11 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.781e-05/1.11, allocations: 34.27 kB / 1.11 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/1.11, allocations: 15.44 kB / 1.11 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/1.11, allocations: 3.938 kB / 1.11 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of Templates: time 0.005005/1.115, allocations: 2.338 MB / 1.113 GB, free: 9.664 MB / 0.8731 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