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.001425/0.001426, allocations: 108 kB / 15.6 MB, free: 132 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.001581/0.001581, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.575/1.575, allocations: 222.9 MB / 240.2 MB, free: 4.367 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 3.018/3.018, allocations: 437 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002009, allocations: 59.91 kB / 0.8692 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8621/0.8641, allocations: 151.6 MB / 1.017 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2317/1.096, allocations: 174 MB / 1.187 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01136/1.107, allocations: 9.522 MB / 1.197 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003452/1.108, allocations: 8 kB / 1.197 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006676/1.108, allocations: 194.6 kB / 1.197 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003552/1.109, allocations: 87.38 kB / 1.197 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/1.109, allocations: 71.84 kB / 1.197 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005043/1.11, allocations: 326.7 kB / 1.197 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004/1.11, allocations: 208.8 kB / 1.197 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004375/1.11, allocations: 167.3 kB / 1.198 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/1.111, allocations: 119.5 kB / 1.198 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/1.111, allocations: 20 kB / 1.198 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 5.212e-05/1.111, allocations: 24 kB / 1.198 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.468e-05/1.111, allocations: 75.75 kB / 1.198 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000139/1.111, allocations: 123.4 kB / 1.198 GB, free: 8.789 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003204/1.111, allocations: 283 kB / 1.198 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/1.111, allocations: 0 / 1.198 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.353e-06/1.111, allocations: 0 / 1.198 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.186e-06/1.111, allocations: 0 / 1.198 GB, free: 8.512 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.0006342/1.112, allocations: 0.5106 MB / 1.199 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/1.112, allocations: 12.03 kB / 1.199 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.449e-05/1.112, allocations: 27.66 kB / 1.199 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/1.112, allocations: 278.2 kB / 1.199 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/1.112, allocations: 16.56 kB / 1.199 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/1.112, allocations: 28 kB / 1.199 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004833/1.113, allocations: 323.9 kB / 1.199 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/1.113, allocations: 4 kB / 1.199 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/1.113, allocations: 11.98 kB / 1.199 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/1.113, allocations: 8 kB / 1.199 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/1.113, allocations: 147.7 kB / 1.2 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/1.115, allocations: 1.808 MB / 1.201 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.833e-05/1.115, allocations: 173.1 kB / 1.201 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.142e-05/1.115, allocations: 84.14 kB / 1.202 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.138e-05/1.115, allocations: 83.25 kB / 1.202 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.848e-05/1.115, allocations: 113.8 kB / 1.202 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/1.115, allocations: 0 / 1.202 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.0001154/1.115, allocations: 53.33 kB / 1.202 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.008e-05/1.115, allocations: 134.6 kB / 1.202 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004244/1.116, allocations: 373.7 kB / 1.202 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/1.116, allocations: 25.7 kB / 1.202 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/1.116, allocations: 175.7 kB / 1.202 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/1.116, allocations: 0 / 1.202 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/1.116, allocations: 21.7 kB / 1.202 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.116, allocations: 338.8 kB / 1.203 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/1.116, allocations: 0 / 1.203 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.881e-05/1.116, allocations: 40.3 kB / 1.203 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.579e-05/1.116, allocations: 44.22 kB / 1.203 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.116, allocations: 4 kB / 1.203 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001644/1.116, allocations: 89.22 kB / 1.203 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/1.116, allocations: 5.875 kB / 1.203 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/1.116, allocations: 0 / 1.203 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/1.117, allocations: 4 kB / 1.203 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.952e-05/1.117, allocations: 8 kB / 1.203 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/1.117, allocations: 128 / 1.203 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.232e-05/1.117, allocations: 35.59 kB / 1.203 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/1.117, allocations: 4.156 kB / 1.203 GB, free: 3.242 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.0001553/1.117, allocations: 213.1 kB / 1.203 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.449e-05/1.117, allocations: 132.6 kB / 1.203 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.661e-05/1.117, allocations: 134.9 kB / 1.203 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.793e-05/1.117, allocations: 180.2 kB / 1.204 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.572e-05/1.117, allocations: 176.3 kB / 1.204 GB, free: 2.379 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.548e-05/1.117, allocations: 180.4 kB / 1.204 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003608/1.118, allocations: 497 kB / 1.204 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.633e-05/1.118, allocations: 104.9 kB / 1.205 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.701e-05/1.118, allocations: 108.9 kB / 1.205 GB, free: 1.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.471e-05/1.118, allocations: 180.3 kB / 1.205 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-05/1.118, allocations: 184.3 kB / 1.205 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.499e-05/1.118, allocations: 180.2 kB / 1.205 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.627e-05/1.118, allocations: 180.3 kB / 1.205 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/1.118, allocations: 335.4 kB / 1.206 GB, free: 348 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/1.118, allocations: 213.7 kB / 1.206 GB, free: 108 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/1.119, allocations: 184.3 kB / 1.206 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/1.119, allocations: 101.3 kB / 1.206 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.842e-05/1.119, allocations: 180.2 kB / 1.206 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/1.119, allocations: 105 kB / 1.206 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002848/1.119, allocations: 271.2 kB / 1.207 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/1.119, allocations: 0 / 1.207 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002648/1.119, allocations: 31.94 kB / 1.207 GB, free: 15.23 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.0001552/1.12, allocations: 182.5 kB / 1.207 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.506e-05/1.12, allocations: 23.92 kB / 1.207 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.12, allocations: 0 / 1.207 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/1.12, allocations: 0 / 1.207 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008964/1.121, allocations: 0.5609 MB / 1.207 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000656/1.121, allocations: 451.1 kB / 1.208 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/1.122, allocations: 0.744 MB / 1.209 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001188/1.122, allocations: 34.97 kB / 1.209 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/1.122, allocations: 19.44 kB / 1.209 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/1.122, allocations: 0 / 1.209 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of Templates: time 0.00882/1.131, allocations: 3.148 MB / 1.212 GB, free: 10.08 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=400 -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