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.001689/0.001689, allocations: 109.1 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.001681/0.001682, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.329/1.329, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.21/2.21, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 67.89 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9988/1, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.218/1.218, allocations: 174.1 MB / 1.259 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01046/1.229, allocations: 9.518 MB / 1.268 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000616/1.229, allocations: 11.94 kB / 1.268 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008615/1.23, allocations: 186.7 kB / 1.268 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004967/1.231, allocations: 99.31 kB / 1.268 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000266/1.231, allocations: 67.86 kB / 1.268 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000569/1.232, allocations: 326.7 kB / 1.269 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004602/1.232, allocations: 204.9 kB / 1.269 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004743/1.233, allocations: 171.4 kB / 1.269 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/1.233, allocations: 111.5 kB / 1.269 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.477e-05/1.233, allocations: 24 kB / 1.269 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.186e-05/1.233, allocations: 27.94 kB / 1.269 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/1.233, allocations: 75.81 kB / 1.269 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001547/1.233, allocations: 123.3 kB / 1.269 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000364/1.234, allocations: 296.6 kB / 1.27 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/1.234, allocations: 0 / 1.27 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.284e-06/1.234, allocations: 0 / 1.27 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.548e-06/1.234, allocations: 0 / 1.27 GB, free: 4.363 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.0007011/1.234, allocations: 0.5146 MB / 1.27 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/1.234, allocations: 8.031 kB / 1.27 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.717e-05/1.234, allocations: 39.56 kB / 1.27 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004646/1.235, allocations: 270.5 kB / 1.27 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/1.235, allocations: 16.56 kB / 1.27 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/1.235, allocations: 31.98 kB / 1.27 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005298/1.236, allocations: 327.9 kB / 1.271 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/1.236, allocations: 4 kB / 1.271 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/1.236, allocations: 12 kB / 1.271 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/1.236, allocations: 8 kB / 1.271 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002385/1.236, allocations: 147.7 kB / 1.271 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/1.237, allocations: 1.812 MB / 1.273 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.025e-05/1.237, allocations: 173.1 kB / 1.273 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.748e-05/1.237, allocations: 84.08 kB / 1.273 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/1.237, allocations: 79.22 kB / 1.273 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/1.237, allocations: 109.8 kB / 1.273 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/1.237, allocations: 4 kB / 1.273 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.000107/1.238, allocations: 57.41 kB / 1.273 GB, free: 440 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/1.238, allocations: 126.7 kB / 1.273 GB, free: 300 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004094/1.238, allocations: 373.7 kB / 1.274 GB, free: 15.92 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/1.238, allocations: 25.7 kB / 1.274 GB, free: 15.89 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/1.238, allocations: 163.8 kB / 1.274 GB, free: 15.73 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.86e-06/1.238, allocations: 0 / 1.274 GB, free: 15.73 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/1.238, allocations: 25.66 kB / 1.274 GB, free: 15.7 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001167/1.238, allocations: 338.8 kB / 1.274 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.747e-05/1.238, allocations: 8 kB / 1.274 GB, free: 15.35 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/1.238, allocations: 32.3 kB / 1.274 GB, free: 15.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.269e-05/1.239, allocations: 44.23 kB / 1.274 GB, free: 15.24 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/1.239, allocations: 7.984 kB / 1.274 GB, free: 15.23 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001618/1.239, allocations: 85.14 kB / 1.274 GB, free: 15.14 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/1.239, allocations: 11.98 kB / 1.274 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.239, allocations: 3.984 kB / 1.274 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/1.239, allocations: 272 / 1.274 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.551e-05/1.239, allocations: 15.94 kB / 1.274 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/1.239, allocations: 4 kB / 1.274 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.497e-05/1.239, allocations: 23.69 kB / 1.274 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/1.239, 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.0001283/1.239, allocations: 213.1 kB / 1.275 GB, free: 14.86 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.761e-05/1.239, allocations: 136.5 kB / 1.275 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.596e-05/1.239, allocations: 123 kB / 1.275 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.455e-05/1.239, allocations: 192.2 kB / 1.275 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.021e-05/1.239, allocations: 180.3 kB / 1.275 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.343e-05/1.239, allocations: 176.3 kB / 1.275 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003134/1.24, allocations: 493 kB / 1.276 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.649e-05/1.24, allocations: 104.9 kB / 1.276 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.648e-05/1.24, allocations: 112.9 kB / 1.276 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.627e-05/1.24, allocations: 176.3 kB / 1.276 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-05/1.24, allocations: 180.3 kB / 1.276 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.363e-05/1.24, allocations: 192.4 kB / 1.277 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.656e-05/1.24, allocations: 176.3 kB / 1.277 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/1.24, allocations: 331.5 kB / 1.277 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/1.24, allocations: 209.7 kB / 1.277 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.909e-05/1.24, allocations: 184.5 kB / 1.277 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.853e-05/1.241, allocations: 105 kB / 1.278 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.273e-05/1.241, allocations: 184.2 kB / 1.278 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/1.241, allocations: 108.9 kB / 1.278 GB, free: 11.35 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002553/1.241, allocations: 275.1 kB / 1.278 GB, free: 11.08 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.241, allocations: 0 / 1.278 GB, free: 11.08 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002538/1.241, allocations: 35.84 kB / 1.278 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.0001263/1.241, allocations: 172.2 kB / 1.278 GB, free: 10.87 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.571e-05/1.241, allocations: 15.94 kB / 1.278 GB, free: 10.86 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.241, allocations: 4.312 kB / 1.278 GB, free: 10.85 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.963e-06/1.241, allocations: 4 kB / 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.0007781/1.242, allocations: 0.5515 MB / 1.279 GB, free: 10.29 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006391/1.243, allocations: 475.5 kB / 1.279 GB, free: 9.789 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/1.243, allocations: 0.744 MB / 1.28 GB, free: 9.02 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.94e-05/1.243, allocations: 23.44 kB / 1.28 GB, free: 9 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/1.243, allocations: 0 / 1.28 GB, free: 9 MB / 1.014 GB Notification: Performance of Templates: time 0.00534/1.249, allocations: 3.155 MB / 1.283 GB, free: 5.871 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