Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001682/0.001682, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001847/0.001847, allocations: 189.9 kB / 16.13 MB, free: 6.652 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.442/1.442, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.812/2.812, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 68.48 kB / 0.8984 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3818, allocations: 157.4 MB / 1.052 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1891/0.5709, allocations: 171.9 MB / 1.22 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01018/0.5811, allocations: 9.515 MB / 1.229 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004788/0.5817, allocations: 7.938 kB / 1.229 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006757/0.5824, allocations: 151.1 kB / 1.229 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.5827, allocations: 83.44 kB / 1.229 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.5829, allocations: 55.95 kB / 1.23 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004236/0.5833, allocations: 394.5 kB / 1.23 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003798/0.5837, allocations: 193.8 kB / 1.23 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003992/0.5841, allocations: 155.4 kB / 1.23 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.5843, allocations: 123.4 kB / 1.23 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.442e-05/0.5844, allocations: 16 kB / 1.23 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.812e-05/0.5844, allocations: 16 kB / 1.23 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.5845, allocations: 71.75 kB / 1.23 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.5847, allocations: 119.4 kB / 1.231 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.585, allocations: 275.1 kB / 1.231 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.5851, allocations: 0 / 1.231 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5851, allocations: 3.938 kB / 1.231 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.5851, allocations: 0 / 1.231 GB, free: 1.133 MB / 0.9825 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.0006778/0.5858, allocations: 0.5082 MB / 1.231 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/0.5858, allocations: 8.031 kB / 1.231 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.74e-05/0.5859, allocations: 35.66 kB / 1.231 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/0.5863, allocations: 262.5 kB / 1.232 GB, free: 240 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.5863, allocations: 24.5 kB / 1.232 GB, free: 216 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.5864, allocations: 24 kB / 1.232 GB, free: 192 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005633/0.587, allocations: 339 kB / 1.232 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.587, allocations: 0 / 1.232 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.587, allocations: 12 kB / 1.232 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.587, allocations: 11.94 kB / 1.232 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002369/0.5873, allocations: 147.7 kB / 1.232 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.5888, allocations: 1.808 MB / 1.234 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.5889, allocations: 165.1 kB / 1.234 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.833e-05/0.589, allocations: 84.14 kB / 1.234 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.193e-05/0.589, allocations: 79.22 kB / 1.234 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.032e-05/0.5891, allocations: 109.8 kB / 1.234 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.5891, allocations: 4 kB / 1.234 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001156/0.5892, allocations: 57.34 kB / 1.234 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/0.5893, allocations: 126.7 kB / 1.235 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004334/0.5897, allocations: 381.6 kB / 1.235 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.898e-06/0.5898, allocations: 25.7 kB / 1.235 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.5899, allocations: 159.8 kB / 1.235 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.809e-06/0.5899, allocations: 4 kB / 1.235 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.5899, allocations: 17.72 kB / 1.235 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.5901, allocations: 334.8 kB / 1.235 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.895e-05/0.5901, allocations: 8 kB / 1.235 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.587e-05/0.5901, allocations: 32.3 kB / 1.235 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.313e-05/0.5902, allocations: 44.23 kB / 1.235 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5902, allocations: 7.938 kB / 1.235 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001589/0.5904, allocations: 85.28 kB / 1.236 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.5904, allocations: 11.98 kB / 1.236 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.5904, allocations: 0 / 1.236 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.5905, allocations: 0 / 1.236 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.284e-05/0.5905, allocations: 12.05 kB / 1.236 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.5905, allocations: 7.938 kB / 1.236 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.938e-05/0.5906, allocations: 31.53 kB / 1.236 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.5906, allocations: 0 / 1.236 GB, free: 11.88 MB / 0.9981 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.0001494/0.5908, allocations: 225.2 kB / 1.236 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.128e-05/0.5909, allocations: 132.5 kB / 1.236 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.701e-05/0.591, allocations: 126.9 kB / 1.236 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-05/0.591, allocations: 188.2 kB / 1.236 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.35e-05/0.5911, allocations: 188.2 kB / 1.236 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.25e-05/0.5912, allocations: 180.3 kB / 1.237 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003195/0.5915, allocations: 489.1 kB / 1.237 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.716e-05/0.5915, allocations: 109 kB / 1.237 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.853e-05/0.5916, allocations: 105 kB / 1.237 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.066e-05/0.5917, allocations: 184.2 kB / 1.237 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.277e-05/0.5917, allocations: 180.3 kB / 1.238 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-05/0.5918, allocations: 180.3 kB / 1.238 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-05/0.5919, allocations: 184.2 kB / 1.238 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.592, allocations: 327.5 kB / 1.238 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.5921, allocations: 209.7 kB / 1.238 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.323e-05/0.5922, allocations: 184.3 kB / 1.239 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.5924, allocations: 108.9 kB / 1.239 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.871e-05/0.5924, allocations: 176.3 kB / 1.239 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.5925, allocations: 105.2 kB / 1.239 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002642/0.5927, allocations: 275.1 kB / 1.239 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5927, allocations: 0 / 1.239 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002604/0.593, allocations: 28 kB / 1.239 GB, free: 7.855 MB / 0.9981 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.0001868/0.5932, allocations: 174.5 kB / 1.239 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.26e-05/0.5933, allocations: 15.94 kB / 1.24 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5933, allocations: 0 / 1.24 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.068e-06/0.5933, allocations: 4 kB / 1.24 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.5944, allocations: 0.6216 MB / 1.24 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007125/0.5951, allocations: 494.9 kB / 1.241 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.5954, allocations: 0.756 MB / 1.241 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001208/0.5956, allocations: 34.95 kB / 1.241 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.5956, allocations: 19.44 kB / 1.241 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of SimCode: time 1.853e-06/0.5956, allocations: 0 / 1.241 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of Templates: time 0.006612/0.6022, allocations: 3.023 MB / 1.244 GB, free: 2.703 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches