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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001353/0.001354, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001342/0.001342, allocations: 192 kB / 16.25 MB, free: 6.637 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 / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.788/2.788, allocations: 461.8 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 70.55 kB / 0.8986 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3412, allocations: 157.4 MB / 1.052 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1567/0.498, allocations: 146 MB / 1.195 GB, free: 6.227 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004609/0.5026, allocations: 4.611 MB / 1.199 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002378/0.5029, allocations: 7.938 kB / 1.199 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004468/0.5033, allocations: 135.2 kB / 1.199 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.5037, allocations: 83.55 kB / 1.2 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.5039, allocations: 59.89 kB / 1.2 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003385/0.5042, allocations: 298.9 kB / 1.2 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.5045, allocations: 149.2 kB / 1.2 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.5046, allocations: 111.6 kB / 1.2 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.5049, allocations: 159.4 kB / 1.2 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.5049, allocations: 16 kB / 1.2 GB, free: 0.6055 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.884e-05/0.5049, allocations: 16 kB / 1.2 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.461e-05/0.505, allocations: 67.81 kB / 1.2 GB, free: 0.5234 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.5051, allocations: 103.5 kB / 1.2 GB, free: 432 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.5053, allocations: 219.4 kB / 1.201 GB, free: 212 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.5054, allocations: 7.984 kB / 1.201 GB, free: 204 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5054, allocations: 0 / 1.201 GB, free: 204 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.5054, allocations: 0 / 1.201 GB, free: 204 kB / 0.9512 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.0004918/0.5059, allocations: 495.2 kB / 1.201 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.5059, allocations: 12.62 kB / 1.201 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.506, allocations: 28.56 kB / 1.201 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.5063, allocations: 251.9 kB / 1.201 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.5063, allocations: 16.81 kB / 1.201 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.5063, allocations: 20.38 kB / 1.201 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004525/0.5068, allocations: 309 kB / 1.202 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.5068, allocations: 0 / 1.202 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.5068, allocations: 16 kB / 1.202 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.5068, allocations: 8 kB / 1.202 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.507, allocations: 119.7 kB / 1.202 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.5083, allocations: 1.965 MB / 1.204 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.015e-05/0.5084, allocations: 173.1 kB / 1.204 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.602e-05/0.5084, allocations: 80.14 kB / 1.204 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.5085, allocations: 75.28 kB / 1.204 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.5085, allocations: 109.8 kB / 1.204 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 2.214e-06/0.5085, allocations: 3.938 kB / 1.204 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.241e-05/0.5086, allocations: 61.3 kB / 1.204 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.5087, allocations: 130.7 kB / 1.204 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.509, allocations: 328.5 kB / 1.205 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.509, allocations: 25.7 kB / 1.205 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.5091, allocations: 167.5 kB / 1.205 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-06/0.5092, allocations: 0 / 1.205 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.5092, allocations: 29.62 kB / 1.205 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5093, allocations: 330.8 kB / 1.205 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.127e-05/0.5094, allocations: 15.98 kB / 1.205 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.637e-05/0.5094, allocations: 58.84 kB / 1.205 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.201e-05/0.5095, allocations: 74.78 kB / 1.205 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5095, allocations: 0 / 1.205 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001657/0.5097, allocations: 109.4 kB / 1.206 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.5097, allocations: 4 kB / 1.206 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5097, allocations: 4 kB / 1.206 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.5097, allocations: 3.938 kB / 1.206 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.06e-05/0.5098, allocations: 12 kB / 1.206 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.5098, allocations: 11.92 kB / 1.206 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.915e-05/0.5099, allocations: 31.58 kB / 1.206 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.5099, allocations: 4 kB / 1.206 GB, free: 10.8 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.0001301/0.5101, allocations: 213.2 kB / 1.206 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.969e-05/0.5101, allocations: 124.7 kB / 1.206 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.355e-05/0.5102, allocations: 133.9 kB / 1.206 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-05/0.5103, allocations: 176.3 kB / 1.206 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.606e-05/0.5104, allocations: 180.2 kB / 1.206 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.174e-05/0.5104, allocations: 180.3 kB / 1.207 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.5107, allocations: 481.1 kB / 1.207 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.22e-05/0.5108, allocations: 101 kB / 1.207 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.259e-05/0.5108, allocations: 105 kB / 1.207 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.728e-05/0.5109, allocations: 184.2 kB / 1.207 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.81e-05/0.511, allocations: 188.2 kB / 1.208 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.654e-05/0.511, allocations: 180.2 kB / 1.208 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-05/0.5111, allocations: 184.5 kB / 1.208 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.5113, allocations: 331.5 kB / 1.208 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.5114, allocations: 201.8 kB / 1.208 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.736e-05/0.5115, allocations: 192.1 kB / 1.209 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.5116, allocations: 109 kB / 1.209 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.906e-05/0.5116, allocations: 176.3 kB / 1.209 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.46e-05/0.5117, allocations: 104.9 kB / 1.209 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002288/0.5119, allocations: 239 kB / 1.209 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5119, allocations: 4 kB / 1.209 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002595/0.5122, allocations: 31.94 kB / 1.209 GB, free: 6.828 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.0001507/0.5124, allocations: 178.5 kB / 1.209 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.814e-05/0.5125, allocations: 19.94 kB / 1.209 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.5125, allocations: 0 / 1.209 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.5125, allocations: 0 / 1.209 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007712/0.5132, allocations: 0.519 MB / 1.21 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005687/0.5138, allocations: 448.2 kB / 1.21 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.5142, allocations: 0.7401 MB / 1.211 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.993e-05/0.5143, allocations: 34.27 kB / 1.211 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/0.5143, allocations: 15.44 kB / 1.211 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of SimCode: time 4.61e-07/0.5143, allocations: 0 / 1.211 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of Templates: time 0.005253/0.5196, allocations: 2.33 MB / 1.213 GB, free: 2.531 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/jenkins/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