Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 104.6 kB / 16.41 MB, free: 6.488 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.001179/0.001179, allocations: 183 kB / 17.34 MB, free: 5.734 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.417/1.417, 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.413/2.413, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 63.91 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.006, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2363/1.243, allocations: 174.1 MB / 1.259 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01037/1.253, allocations: 9.522 MB / 1.268 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004763/1.254, allocations: 11.88 kB / 1.268 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007883/1.255, allocations: 190.7 kB / 1.268 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004766/1.255, allocations: 95.3 kB / 1.268 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/1.255, allocations: 71.92 kB / 1.268 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005428/1.256, allocations: 326.6 kB / 1.269 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000405/1.256, allocations: 204.9 kB / 1.269 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004543/1.257, allocations: 167.4 kB / 1.269 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/1.257, allocations: 119.4 kB / 1.269 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.117e-05/1.257, allocations: 24 kB / 1.269 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.108e-05/1.257, allocations: 20 kB / 1.269 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.398e-05/1.257, allocations: 79.8 kB / 1.269 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/1.257, allocations: 131.3 kB / 1.269 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003429/1.258, allocations: 284.7 kB / 1.27 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.258, allocations: 3.984 kB / 1.27 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.465e-06/1.258, allocations: 0 / 1.27 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.377e-06/1.258, allocations: 0 / 1.27 GB, free: 4.453 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006291/1.258, allocations: 0.5068 MB / 1.27 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/1.258, allocations: 12.03 kB / 1.27 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.664e-05/1.258, allocations: 31.56 kB / 1.27 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004294/1.259, allocations: 286.5 kB / 1.27 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/1.259, allocations: 24.5 kB / 1.27 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/1.259, allocations: 24 kB / 1.27 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000452/1.259, allocations: 323.9 kB / 1.271 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/1.259, allocations: 3.984 kB / 1.271 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/1.26, allocations: 12 kB / 1.271 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/1.26, allocations: 8 kB / 1.271 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002239/1.26, allocations: 143.7 kB / 1.271 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/1.261, allocations: 1.808 MB / 1.273 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.38e-05/1.261, allocations: 177.1 kB / 1.273 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.238e-05/1.261, allocations: 80.14 kB / 1.273 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/1.261, allocations: 79.22 kB / 1.273 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/1.261, allocations: 109.8 kB / 1.273 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/1.261, allocations: 0 / 1.273 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001105/1.261, allocations: 57.42 kB / 1.273 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/1.262, allocations: 130.6 kB / 1.273 GB, free: 400 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003877/1.262, allocations: 369.7 kB / 1.274 GB, free: 24 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/1.262, allocations: 25.7 kB / 1.274 GB, free: 15.99 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/1.262, allocations: 175.8 kB / 1.274 GB, free: 15.82 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-06/1.262, allocations: 3.938 kB / 1.274 GB, free: 15.81 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/1.262, allocations: 13.72 kB / 1.274 GB, free: 15.79 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001166/1.262, allocations: 334.8 kB / 1.274 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.041e-05/1.262, allocations: 12 kB / 1.274 GB, free: 15.45 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.095e-05/1.262, allocations: 36.28 kB / 1.274 GB, free: 15.39 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.861e-05/1.262, allocations: 44.23 kB / 1.274 GB, free: 15.34 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.262, allocations: 0 / 1.274 GB, free: 15.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001693/1.263, allocations: 93.23 kB / 1.274 GB, free: 15.24 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/1.263, allocations: 11.94 kB / 1.274 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/1.263, allocations: 0 / 1.274 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/1.263, allocations: 4 kB / 1.274 GB, free: 15.22 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.833e-05/1.263, allocations: 8.125 kB / 1.274 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/1.263, allocations: 8.156 kB / 1.274 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.325e-05/1.263, allocations: 23.69 kB / 1.274 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/1.263, allocations: 3.984 kB / 1.274 GB, free: 15.18 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001397/1.263, allocations: 213.1 kB / 1.275 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.876e-05/1.263, allocations: 140.5 kB / 1.275 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.875e-05/1.263, allocations: 127 kB / 1.275 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.871e-05/1.263, allocations: 180.2 kB / 1.275 GB, free: 14.49 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.549e-05/1.263, allocations: 180.3 kB / 1.275 GB, free: 14.31 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.107e-05/1.263, allocations: 184.2 kB / 1.275 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003359/1.264, allocations: 493.1 kB / 1.276 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.226e-05/1.264, allocations: 104.9 kB / 1.276 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-05/1.264, allocations: 104.9 kB / 1.276 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.427e-05/1.264, allocations: 184.3 kB / 1.276 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-05/1.264, allocations: 180.2 kB / 1.276 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.062e-05/1.264, allocations: 180.3 kB / 1.277 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.996e-05/1.264, allocations: 180.2 kB / 1.277 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/1.264, allocations: 335.5 kB / 1.277 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/1.264, allocations: 213.7 kB / 1.277 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.872e-05/1.265, allocations: 180.5 kB / 1.277 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/1.265, allocations: 109 kB / 1.278 GB, free: 11.74 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.896e-05/1.265, allocations: 184.2 kB / 1.278 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.711e-05/1.265, allocations: 101 kB / 1.278 GB, free: 11.45 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002597/1.265, allocations: 271.2 kB / 1.278 GB, free: 11.19 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.21e-07/1.265, allocations: 0 / 1.278 GB, free: 11.19 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002596/1.265, allocations: 39.84 kB / 1.278 GB, free: 11.15 MB / 1.014 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.000152/1.265, allocations: 174.5 kB / 1.278 GB, free: 10.97 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000108/1.266, allocations: 15.92 kB / 1.278 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.266, allocations: 0 / 1.278 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.541e-06/1.266, allocations: 4.25 kB / 1.278 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009805/1.267, allocations: 0.5516 MB / 1.279 GB, free: 10.39 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000816/1.267, allocations: 475.5 kB / 1.279 GB, free: 9.891 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/1.268, allocations: 0.7518 MB / 1.28 GB, free: 9.113 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.261e-05/1.268, allocations: 23.38 kB / 1.28 GB, free: 9.094 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/1.268, allocations: 0 / 1.28 GB, free: 9.094 MB / 1.014 GB Notification: Performance of Templates: time 0.0062/1.274, allocations: 3.146 MB / 1.283 GB, free: 5.973 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches