Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.002113/0.002113, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002452/0.002453, allocations: 194 kB / 16.53 MB, free: 6.664 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.497/1.497, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.787/2.787, allocations: 437 MB / 0.7103 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 59.91 kB / 0.8692 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8499/0.8518, allocations: 151.6 MB / 1.017 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2119/1.064, allocations: 174.1 MB / 1.187 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009684/1.074, allocations: 9.51 MB / 1.197 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003847/1.074, allocations: 11.94 kB / 1.197 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006247/1.075, allocations: 186.7 kB / 1.197 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002549/1.075, allocations: 103.3 kB / 1.197 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/1.075, allocations: 59.92 kB / 1.197 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004711/1.076, allocations: 330.6 kB / 1.197 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003855/1.076, allocations: 208.8 kB / 1.197 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003507/1.076, allocations: 171.4 kB / 1.198 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/1.077, allocations: 127.4 kB / 1.198 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.513e-05/1.077, allocations: 20 kB / 1.198 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.933e-05/1.077, allocations: 20 kB / 1.198 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.548e-05/1.077, allocations: 75.77 kB / 1.198 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/1.077, allocations: 127.3 kB / 1.198 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002773/1.077, allocations: 275.1 kB / 1.198 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.077, allocations: 0 / 1.198 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.824e-06/1.077, allocations: 0 / 1.198 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.556e-06/1.077, allocations: 0 / 1.198 GB, free: 8.594 MB / 0.9512 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.0005919/1.078, allocations: 0.5145 MB / 1.199 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/1.078, allocations: 8.031 kB / 1.199 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.557e-05/1.078, allocations: 35.64 kB / 1.199 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/1.078, allocations: 272.1 kB / 1.199 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/1.078, allocations: 20.56 kB / 1.199 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/1.078, allocations: 24 kB / 1.199 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005206/1.079, allocations: 324 kB / 1.199 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/1.079, allocations: 3.938 kB / 1.199 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/1.079, allocations: 12 kB / 1.199 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/1.079, allocations: 8 kB / 1.199 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000228/1.079, allocations: 143.7 kB / 1.199 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/1.081, allocations: 1.816 MB / 1.201 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.041e-05/1.081, allocations: 169.1 kB / 1.201 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.988e-05/1.081, allocations: 84.14 kB / 1.201 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/1.081, allocations: 79.25 kB / 1.202 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/1.081, allocations: 117.8 kB / 1.202 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/1.081, allocations: 0 / 1.202 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 9.717e-05/1.081, allocations: 57.33 kB / 1.202 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/1.081, allocations: 126.7 kB / 1.202 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003981/1.082, allocations: 373.7 kB / 1.202 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/1.082, allocations: 25.7 kB / 1.202 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/1.082, allocations: 167.8 kB / 1.202 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/1.082, allocations: 0 / 1.202 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/1.082, allocations: 25.72 kB / 1.202 GB, free: 3.934 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.082, allocations: 334.8 kB / 1.203 GB, free: 3.598 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.544e-05/1.082, allocations: 4 kB / 1.203 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.048e-05/1.082, allocations: 40.22 kB / 1.203 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.524e-05/1.082, allocations: 44.23 kB / 1.203 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/1.082, allocations: 4.125 kB / 1.203 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001504/1.082, allocations: 85.28 kB / 1.203 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/1.082, allocations: 8 kB / 1.203 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/1.082, allocations: 160 / 1.203 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/1.082, allocations: 4 kB / 1.203 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.708e-05/1.082, allocations: 15.92 kB / 1.203 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/1.082, allocations: 4 kB / 1.203 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.285e-05/1.082, allocations: 31.59 kB / 1.203 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-06/1.082, allocations: 0 / 1.203 GB, free: 3.324 MB / 0.9512 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.0001995/1.083, allocations: 213.1 kB / 1.203 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/1.083, allocations: 132.6 kB / 1.203 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/1.083, allocations: 130.9 kB / 1.203 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.565e-05/1.083, allocations: 184.3 kB / 1.204 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.356e-05/1.083, allocations: 180.3 kB / 1.204 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.939e-05/1.083, allocations: 184.2 kB / 1.204 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003913/1.084, allocations: 493 kB / 1.204 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001154/1.084, allocations: 104.9 kB / 1.205 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.53e-05/1.084, allocations: 105 kB / 1.205 GB, free: 1.512 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001473/1.084, allocations: 180.2 kB / 1.205 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.312e-05/1.084, allocations: 188.2 kB / 1.205 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.637e-05/1.084, allocations: 180.2 kB / 1.205 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-05/1.084, allocations: 180.3 kB / 1.205 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/1.084, allocations: 335.4 kB / 1.206 GB, free: 428 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/1.084, allocations: 209.7 kB / 1.206 GB, free: 192 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/1.084, allocations: 184.2 kB / 1.206 GB, free: 0 / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/1.085, allocations: 105.3 kB / 1.206 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.81e-05/1.085, allocations: 180.2 kB / 1.206 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/1.085, allocations: 108.9 kB / 1.206 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002555/1.085, allocations: 271.2 kB / 1.207 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/1.085, allocations: 0 / 1.207 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002963/1.085, allocations: 31.94 kB / 1.207 GB, free: 15.3 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.0001521/1.085, allocations: 170.5 kB / 1.207 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.731e-05/1.086, allocations: 28.22 kB / 1.207 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.086, allocations: 4.062 kB / 1.207 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/1.086, allocations: 0 / 1.207 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009131/1.086, allocations: 0.5438 MB / 1.207 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006171/1.087, allocations: 450.9 kB / 1.208 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/1.088, allocations: 0.7558 MB / 1.209 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.607e-05/1.088, allocations: 34.95 kB / 1.209 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/1.088, allocations: 23.44 kB / 1.209 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of SimCode: time 2.6e-07/1.088, allocations: 0 / 1.209 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of Templates: time 0.006546/1.094, allocations: 3.154 MB / 1.212 GB, free: 10.14 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches