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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001086/0.00109, 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.001059/0.001059, allocations: 195.1 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.963/2.963, allocations: 472.6 MB / 0.7451 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 62.55 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4375/0.4395, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2063/0.6458, allocations: 174.1 MB / 1.238 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00867/0.6545, allocations: 9.506 MB / 1.247 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003343/0.6549, allocations: 15.94 kB / 1.247 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006019/0.6556, allocations: 190.7 kB / 1.248 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.6558, allocations: 95.3 kB / 1.248 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.656, allocations: 59.92 kB / 1.248 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004015/0.6564, allocations: 330.6 kB / 1.248 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003621/0.6568, allocations: 204.9 kB / 1.248 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003317/0.6571, allocations: 171.4 kB / 1.248 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.6573, allocations: 127.4 kB / 1.249 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.6573, allocations: 20 kB / 1.249 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.708e-05/0.6574, allocations: 24 kB / 1.249 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.702e-05/0.6575, allocations: 71.77 kB / 1.249 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.6576, allocations: 127.3 kB / 1.249 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.6578, allocations: 275.1 kB / 1.249 GB, free: 448 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.6578, allocations: 0 / 1.249 GB, free: 448 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.973e-06/0.6578, allocations: 0 / 1.249 GB, free: 448 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.6579, allocations: 4 kB / 1.249 GB, free: 444 kB / 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.7866/1.444, allocations: 0.5052 MB / 1.25 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/1.445, allocations: 9.812 kB / 1.25 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.285e-05/1.445, allocations: 30 kB / 1.25 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/1.445, allocations: 264.9 kB / 1.25 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/1.445, allocations: 22.11 kB / 1.25 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.218e-05/1.445, allocations: 27.36 kB / 1.25 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005176/1.446, allocations: 326.7 kB / 1.25 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/1.446, allocations: 1.25 kB / 1.25 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/1.446, allocations: 17.94 kB / 1.25 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/1.446, allocations: 8.797 kB / 1.25 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002467/1.446, allocations: 141.1 kB / 1.25 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/1.447, allocations: 1.818 MB / 1.252 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.639e-05/1.447, allocations: 173.8 kB / 1.252 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.721e-05/1.447, allocations: 84.12 kB / 1.252 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/1.447, allocations: 78.66 kB / 1.253 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/1.447, allocations: 107.3 kB / 1.253 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/1.447, allocations: 0.75 kB / 1.253 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001106/1.447, allocations: 57.72 kB / 1.253 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/1.448, allocations: 132.1 kB / 1.253 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000479/1.448, allocations: 373.5 kB / 1.253 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/1.448, allocations: 25.7 kB / 1.253 GB, free: 187 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/1.448, allocations: 171.5 kB / 1.253 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.049e-06/1.448, allocations: 1.375 kB / 1.253 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/1.448, allocations: 17.95 kB / 1.253 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.022e-05/1.448, allocations: 339.4 kB / 1.254 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/1.448, allocations: 7.359 kB / 1.254 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.607e-05/1.448, allocations: 39.88 kB / 1.254 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.3e-05/1.448, allocations: 47.23 kB / 1.254 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.448, allocations: 0.9062 kB / 1.254 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001629/1.449, allocations: 85.94 kB / 1.254 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.449, allocations: 7.688 kB / 1.254 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/1.449, allocations: 5.109 kB / 1.254 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/1.449, allocations: 1.438 kB / 1.254 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.323e-05/1.449, allocations: 9.141 kB / 1.254 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/1.449, allocations: 1.438 kB / 1.254 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.555e-05/1.449, allocations: 28.61 kB / 1.254 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/1.449, allocations: 2.5 kB / 1.254 GB, free: 186.4 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.0001336/1.449, allocations: 219.8 kB / 1.254 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.503e-05/1.449, allocations: 132.8 kB / 1.254 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.005e-05/1.449, allocations: 126 kB / 1.254 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-05/1.449, allocations: 182 kB / 1.255 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.183e-05/1.449, allocations: 178.3 kB / 1.255 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.513e-05/1.449, allocations: 188.4 kB / 1.255 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/1.45, allocations: 497.5 kB / 1.255 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-05/1.45, allocations: 103 kB / 1.255 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.501e-05/1.45, allocations: 107.9 kB / 1.256 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.161e-05/1.45, allocations: 177.7 kB / 1.256 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/1.45, allocations: 182.2 kB / 1.256 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.123e-05/1.45, allocations: 186.1 kB / 1.256 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.593e-05/1.45, allocations: 182 kB / 1.256 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.843e-05/1.45, allocations: 332.6 kB / 1.257 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.324e-05/1.45, allocations: 214.5 kB / 1.257 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.913e-05/1.45, allocations: 177.7 kB / 1.257 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/1.45, allocations: 106.4 kB / 1.257 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/1.45, allocations: 183.2 kB / 1.257 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/1.45, allocations: 101.7 kB / 1.257 GB, free: 183 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002904/1.451, allocations: 271.2 kB / 1.258 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.451, allocations: 0.7188 kB / 1.258 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002746/1.451, allocations: 31.88 kB / 1.258 GB, free: 182.9 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.0001292/1.451, allocations: 176.1 kB / 1.258 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.318e-05/1.451, allocations: 17.86 kB / 1.258 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.451, allocations: 0.9375 kB / 1.258 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.226e-06/1.451, allocations: 7.875 kB / 1.258 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008243/1.452, allocations: 0.5528 MB / 1.258 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000641/1.453, allocations: 450.4 kB / 1.259 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/1.453, allocations: 0.7577 MB / 1.26 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001076/1.453, allocations: 34.17 kB / 1.26 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.895e-05/1.453, allocations: 19.47 kB / 1.26 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/1.453, allocations: 0 / 1.26 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.007716/1.461, allocations: 3.158 MB / 1.263 GB, free: 181 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