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.006535/0.006535, allocations: 98.12 kB / 15.73 MB, free: 5.605 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.001189/0.001189, allocations: 197.2 kB / 16.67 MB, free: 5.531 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.17 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.358/2.358, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 71.89 kB / 0.9509 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118/1.12, allocations: 140.4 MB / 1.088 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2527/1.372, allocations: 174 MB / 1.258 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01046/1.383, allocations: 9.522 MB / 1.267 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005225/1.383, allocations: 11.94 kB / 1.267 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000732/1.384, allocations: 194.6 kB / 1.267 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003192/1.384, allocations: 91.36 kB / 1.267 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/1.385, allocations: 71.8 kB / 1.268 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004162/1.385, allocations: 330.7 kB / 1.268 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003841/1.386, allocations: 204.9 kB / 1.268 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003625/1.386, allocations: 163.4 kB / 1.268 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/1.386, allocations: 119.4 kB / 1.268 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.307e-05/1.386, allocations: 20 kB / 1.268 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.463e-05/1.386, allocations: 27.94 kB / 1.268 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.843e-05/1.386, allocations: 71.81 kB / 1.268 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/1.386, allocations: 135.3 kB / 1.269 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003643/1.387, allocations: 299.6 kB / 1.269 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/1.387, allocations: 0 / 1.269 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.047e-06/1.387, allocations: 0 / 1.269 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.051e-05/1.387, allocations: 0 / 1.269 GB, free: 4.371 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.0005779/1.387, allocations: 0.5143 MB / 1.269 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/1.387, allocations: 8.031 kB / 1.269 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.829e-05/1.387, allocations: 31.8 kB / 1.269 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004987/1.388, allocations: 276.3 kB / 1.27 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.085e-05/1.388, allocations: 24.5 kB / 1.27 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/1.388, allocations: 31.94 kB / 1.27 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004839/1.389, allocations: 319.9 kB / 1.27 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/1.389, allocations: 4 kB / 1.27 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/1.389, allocations: 12 kB / 1.27 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/1.389, allocations: 7.984 kB / 1.27 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002209/1.389, allocations: 147.6 kB / 1.27 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/1.39, allocations: 1.824 MB / 1.272 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.561e-05/1.39, allocations: 177.1 kB / 1.272 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.602e-05/1.39, allocations: 80.14 kB / 1.272 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.113e-05/1.39, allocations: 79.22 kB / 1.272 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/1.391, allocations: 109.8 kB / 1.272 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/1.391, allocations: 0 / 1.272 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001085/1.391, allocations: 53.5 kB / 1.272 GB, free: 448 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.387e-05/1.391, allocations: 130.7 kB / 1.273 GB, free: 304 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004213/1.391, allocations: 377.6 kB / 1.273 GB, free: 15.92 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/1.391, allocations: 25.7 kB / 1.273 GB, free: 15.89 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/1.391, allocations: 167.9 kB / 1.273 GB, free: 15.72 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.39e-06/1.391, allocations: 4 kB / 1.273 GB, free: 15.72 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/1.391, allocations: 17.72 kB / 1.273 GB, free: 15.7 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000131/1.392, allocations: 334.8 kB / 1.273 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/1.392, allocations: 4 kB / 1.273 GB, free: 15.36 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.066e-05/1.392, allocations: 40.28 kB / 1.274 GB, free: 15.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.101e-05/1.392, allocations: 44.23 kB / 1.274 GB, free: 15.24 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/1.392, allocations: 4 kB / 1.274 GB, free: 15.24 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001831/1.392, allocations: 93.31 kB / 1.274 GB, free: 15.14 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/1.392, allocations: 10.5 kB / 1.274 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/1.392, allocations: 0 / 1.274 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/1.392, allocations: 112 / 1.274 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.902e-05/1.392, allocations: 15.88 kB / 1.274 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/1.392, allocations: 7.984 kB / 1.274 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.173e-05/1.392, allocations: 23.94 kB / 1.274 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/1.392, allocations: 4 kB / 1.274 GB, free: 15.08 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.0001672/1.392, allocations: 213.1 kB / 1.274 GB, free: 14.86 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.154e-05/1.392, allocations: 132.7 kB / 1.274 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.009e-05/1.392, allocations: 130.9 kB / 1.274 GB, free: 14.58 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-05/1.392, allocations: 180.3 kB / 1.274 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.175e-05/1.393, allocations: 184.2 kB / 1.275 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.979e-05/1.393, allocations: 180.2 kB / 1.275 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003232/1.393, allocations: 489.1 kB / 1.275 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.543e-05/1.393, allocations: 112.9 kB / 1.275 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.437e-05/1.393, allocations: 105 kB / 1.275 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.2e-05/1.393, allocations: 184.2 kB / 1.276 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.561e-05/1.393, allocations: 184.3 kB / 1.276 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.471e-05/1.393, allocations: 184.3 kB / 1.276 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.263e-05/1.393, allocations: 180.2 kB / 1.276 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/1.394, allocations: 331.6 kB / 1.276 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/1.394, allocations: 217.8 kB / 1.277 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.952e-05/1.394, allocations: 180.5 kB / 1.277 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/1.394, allocations: 108.9 kB / 1.277 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.068e-05/1.394, allocations: 180.3 kB / 1.277 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.18e-05/1.394, allocations: 104.9 kB / 1.277 GB, free: 11.34 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002609/1.394, allocations: 271.2 kB / 1.277 GB, free: 11.08 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.394, allocations: 4 kB / 1.277 GB, free: 11.08 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002728/1.395, allocations: 28 kB / 1.277 GB, free: 11.05 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.0001502/1.395, allocations: 170.5 kB / 1.278 GB, free: 10.88 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.442e-05/1.395, allocations: 23.92 kB / 1.278 GB, free: 10.85 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.395, allocations: 0 / 1.278 GB, free: 10.85 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/1.395, allocations: 0 / 1.278 GB, free: 10.85 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008576/1.396, allocations: 0.5519 MB / 1.278 GB, free: 10.29 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006561/1.396, allocations: 448.8 kB / 1.279 GB, free: 9.824 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/1.397, allocations: 0.7596 MB / 1.279 GB, free: 9.039 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.828e-05/1.397, allocations: 30.97 kB / 1.279 GB, free: 9.012 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.623e-05/1.397, allocations: 19.44 kB / 1.279 GB, free: 8.996 MB / 1.014 GB Notification: Performance of SimCode: time 3.727e-06/1.397, allocations: 3.938 kB / 1.279 GB, free: 8.992 MB / 1.014 GB Notification: Performance of Templates: time 0.006506/1.403, allocations: 3.181 MB / 1.282 GB, free: 5.867 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/jenkins/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