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.001376/0.001376, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001267/0.001267, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.267/2.267, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 63.91 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7858/0.7872, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.193/0.9802, allocations: 148 MB / 1.233 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006444/0.9867, allocations: 4.657 MB / 1.238 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004517/0.9872, allocations: 10.97 kB / 1.238 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006478/0.9878, allocations: 160.1 kB / 1.238 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005215/0.9884, allocations: 90.59 kB / 1.238 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.9887, allocations: 63.98 kB / 1.238 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005443/0.9892, allocations: 303.4 kB / 1.238 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003898/0.9896, allocations: 148.3 kB / 1.238 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003136/0.9899, allocations: 115.2 kB / 1.239 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003041/0.9903, allocations: 149.8 kB / 1.239 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.135e-05/0.9903, allocations: 17 kB / 1.239 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.934e-05/0.9904, allocations: 15.12 kB / 1.239 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.18e-05/0.9905, allocations: 68.39 kB / 1.239 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.9906, allocations: 105.8 kB / 1.239 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003205/0.991, allocations: 244 kB / 1.239 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.991, allocations: 1.375 kB / 1.239 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.414e-06/0.991, allocations: 0 / 1.239 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.991, allocations: 0 / 1.239 GB, free: 2.012 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.000614/0.9916, allocations: 494.2 kB / 1.24 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.9917, allocations: 9.625 kB / 1.24 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.265e-05/0.9918, allocations: 26.41 kB / 1.24 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/0.9922, allocations: 269.2 kB / 1.24 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.9922, allocations: 17.06 kB / 1.24 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.9923, allocations: 22.12 kB / 1.24 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.9927, allocations: 304.3 kB / 1.24 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.9928, allocations: 1.469 kB / 1.24 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.9928, allocations: 11.12 kB / 1.24 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.9928, allocations: 5.938 kB / 1.24 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002274/0.993, allocations: 128.8 kB / 1.24 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.9946, allocations: 1.966 MB / 1.242 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.9947, allocations: 169.1 kB / 1.242 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.55e-05/0.9947, allocations: 81.45 kB / 1.243 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.9948, allocations: 75.28 kB / 1.243 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/0.9948, allocations: 118.9 kB / 1.243 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/0.9948, allocations: 0 / 1.243 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001245/0.9949, allocations: 53.52 kB / 1.243 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.995, allocations: 130.6 kB / 1.243 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003781/0.9954, allocations: 330.5 kB / 1.243 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.9954, allocations: 27.08 kB / 1.243 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.9955, allocations: 156 kB / 1.243 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.643e-06/0.9956, allocations: 9.359 kB / 1.243 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.9956, allocations: 27.12 kB / 1.243 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.9957, allocations: 332.3 kB / 1.244 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.014e-05/0.9958, allocations: 9.5 kB / 1.244 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.51e-05/0.9958, allocations: 55.11 kB / 1.244 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.613e-05/0.9959, allocations: 75.06 kB / 1.244 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.9959, allocations: 1.375 kB / 1.244 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002039/0.9961, allocations: 104.6 kB / 1.244 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.9961, allocations: 9.297 kB / 1.244 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.9961, allocations: 6.312 kB / 1.244 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.9962, allocations: 6.5 kB / 1.244 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.004e-05/0.9963, allocations: 15.75 kB / 1.244 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.9963, allocations: 6.344 kB / 1.244 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.9964, allocations: 22.69 kB / 1.244 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.9964, allocations: 4.188 kB / 1.244 GB, free: 13.31 MB / 0.9825 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.0001411/0.9965, allocations: 213.6 kB / 1.244 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.385e-05/0.9966, allocations: 124.9 kB / 1.244 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.852e-05/0.9967, allocations: 134.5 kB / 1.244 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.017e-05/0.9968, allocations: 185.1 kB / 1.245 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.425e-05/0.9968, allocations: 177.3 kB / 1.245 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.618e-05/0.9969, allocations: 181.1 kB / 1.245 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/0.9972, allocations: 474.8 kB / 1.245 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.67e-05/0.9973, allocations: 106.1 kB / 1.246 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/0.9973, allocations: 102 kB / 1.246 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.597e-05/0.9974, allocations: 185.3 kB / 1.246 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.18e-05/0.9975, allocations: 185.1 kB / 1.246 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.507e-05/0.9975, allocations: 185.3 kB / 1.246 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.009e-05/0.9976, allocations: 185.3 kB / 1.246 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.9977, allocations: 326.1 kB / 1.247 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.9979, allocations: 208.9 kB / 1.247 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.671e-05/0.998, allocations: 181.4 kB / 1.247 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.9981, allocations: 110.4 kB / 1.247 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/0.9981, allocations: 176.6 kB / 1.247 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.9982, allocations: 102.4 kB / 1.247 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002431/0.9984, allocations: 240.4 kB / 1.248 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.323e-06/0.9984, allocations: 0 / 1.248 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002906/0.9987, allocations: 36.97 kB / 1.248 GB, free: 9.543 MB / 0.9825 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.0001362/0.9989, allocations: 170.3 kB / 1.248 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.999, allocations: 26.23 kB / 1.248 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.999, allocations: 0.5 kB / 1.248 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.607e-06/0.999, allocations: 5.781 kB / 1.248 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006907/0.9997, allocations: 0.5184 MB / 1.248 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006025/1, allocations: 437.4 kB / 1.249 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/1.001, allocations: 0.744 MB / 1.25 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/1.001, allocations: 18.91 kB / 1.25 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/1.001, allocations: 0 / 1.25 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of Templates: time 0.005488/1.006, allocations: 2.623 MB / 1.252 GB, free: 5.734 MB / 0.9825 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/jenkins1/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