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.01107/0.01107, allocations: 102 kB / 15.73 MB, free: 6.039 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.002061/0.002061, allocations: 194.1 kB / 16.67 MB, free: 5.969 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.528/1.528, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.794/2.794, allocations: 461.9 MB / 0.7348 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 63.83 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3697, allocations: 157.4 MB / 1.208 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 1.142/1.512, allocations: 174.1 MB / 1.378 GB, free: 12.2 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01036/1.522, allocations: 9.517 MB / 1.387 GB, free: 4.762 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004898/1.523, allocations: 14.38 kB / 1.387 GB, free: 4.754 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000665/1.523, allocations: 193.7 kB / 1.387 GB, free: 4.586 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002905/1.524, allocations: 87.92 kB / 1.387 GB, free: 4.512 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/1.524, allocations: 69.58 kB / 1.387 GB, free: 4.453 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000432/1.524, allocations: 327.7 kB / 1.388 GB, free: 4.262 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004224/1.525, allocations: 199.5 kB / 1.388 GB, free: 4.156 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003837/1.525, allocations: 162.2 kB / 1.388 GB, free: 4.066 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/1.525, allocations: 129.1 kB / 1.388 GB, free: 3.977 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.713e-05/1.525, allocations: 21.69 kB / 1.388 GB, free: 3.977 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.867e-05/1.525, allocations: 21.25 kB / 1.388 GB, free: 3.977 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/1.525, allocations: 72.78 kB / 1.388 GB, free: 3.926 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001406/1.526, allocations: 132.6 kB / 1.388 GB, free: 3.836 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003421/1.526, allocations: 298.1 kB / 1.389 GB, free: 3.621 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/1.526, allocations: 0 / 1.389 GB, free: 3.621 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.944e-06/1.526, allocations: 0 / 1.389 GB, free: 3.621 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.594e-06/1.526, allocations: 1.312 kB / 1.389 GB, free: 3.621 MB / 1.076 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.0005777/1.527, allocations: 0.5073 MB / 1.389 GB, free: 3.133 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/1.527, allocations: 10.91 kB / 1.389 GB, free: 3.133 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.727e-05/1.527, allocations: 33.72 kB / 1.389 GB, free: 3.113 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004281/1.527, allocations: 272.6 kB / 1.389 GB, free: 2.844 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/1.527, allocations: 24.06 kB / 1.389 GB, free: 2.832 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/1.527, allocations: 24.34 kB / 1.39 GB, free: 2.824 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004859/1.528, allocations: 327.6 kB / 1.39 GB, free: 2.562 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/1.528, allocations: 1 kB / 1.39 GB, free: 2.562 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/1.528, allocations: 10.84 kB / 1.39 GB, free: 2.555 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/1.528, allocations: 7.938 kB / 1.39 GB, free: 2.555 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/1.528, allocations: 150.8 kB / 1.39 GB, free: 2.477 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/1.529, allocations: 1.814 MB / 1.392 GB, free: 0.7227 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.635e-05/1.53, allocations: 178.6 kB / 1.392 GB, free: 0.5391 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.464e-05/1.53, allocations: 81.2 kB / 1.392 GB, free: 468 kB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.041e-05/1.53, allocations: 75.28 kB / 1.392 GB, free: 392 kB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/1.53, allocations: 110.8 kB / 1.392 GB, free: 272 kB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/1.53, allocations: 0 / 1.392 GB, free: 272 kB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 9.121e-05/1.53, allocations: 54.45 kB / 1.392 GB, free: 224 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000167/1.53, allocations: 130.7 kB / 1.392 GB, free: 80 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004542/1.53, allocations: 377 kB / 1.393 GB, free: 15.84 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/1.53, allocations: 30.73 kB / 1.393 GB, free: 15.81 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/1.531, allocations: 165.8 kB / 1.393 GB, free: 15.66 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 4.759e-06/1.531, allocations: 1.125 kB / 1.393 GB, free: 15.66 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/1.531, allocations: 20.91 kB / 1.393 GB, free: 15.63 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.531, allocations: 338 kB / 1.393 GB, free: 15.3 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/1.531, allocations: 6.719 kB / 1.393 GB, free: 15.3 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.254e-05/1.531, allocations: 38.38 kB / 1.393 GB, free: 15.25 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.858e-05/1.531, allocations: 44.67 kB / 1.393 GB, free: 15.2 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.531, allocations: 0.5 kB / 1.393 GB, free: 15.2 MB / 1.092 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001637/1.531, allocations: 92.31 kB / 1.393 GB, free: 15.13 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/1.531, allocations: 4.969 kB / 1.393 GB, free: 15.13 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/1.531, allocations: 1.344 kB / 1.393 GB, free: 15.13 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.531, allocations: 2.781 kB / 1.393 GB, free: 15.13 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.419e-05/1.531, allocations: 11.12 kB / 1.393 GB, free: 15.13 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/1.531, allocations: 6.172 kB / 1.393 GB, free: 15.12 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.501e-05/1.531, allocations: 31.41 kB / 1.393 GB, free: 15.1 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/1.531, allocations: 2.562 kB / 1.393 GB, free: 15.1 MB / 1.092 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.0001388/1.532, allocations: 206.7 kB / 1.394 GB, free: 14.9 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.845e-05/1.532, allocations: 137.1 kB / 1.394 GB, free: 14.77 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.317e-05/1.532, allocations: 133.4 kB / 1.394 GB, free: 14.64 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.611e-05/1.532, allocations: 176.3 kB / 1.394 GB, free: 14.46 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-05/1.532, allocations: 188.8 kB / 1.394 GB, free: 14.28 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.334e-05/1.532, allocations: 177.6 kB / 1.394 GB, free: 14.1 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/1.532, allocations: 490.8 kB / 1.395 GB, free: 13.59 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-05/1.532, allocations: 105.7 kB / 1.395 GB, free: 13.48 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-05/1.532, allocations: 106.8 kB / 1.395 GB, free: 13.38 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.387e-05/1.532, allocations: 189.3 kB / 1.395 GB, free: 13.18 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.934e-05/1.532, allocations: 185.4 kB / 1.395 GB, free: 13 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.246e-05/1.533, allocations: 181.3 kB / 1.396 GB, free: 12.81 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-05/1.533, allocations: 180.2 kB / 1.396 GB, free: 12.63 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/1.533, allocations: 331.5 kB / 1.396 GB, free: 12.3 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/1.533, allocations: 214.3 kB / 1.396 GB, free: 12.07 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-05/1.533, allocations: 177.4 kB / 1.397 GB, free: 11.89 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/1.533, allocations: 110.2 kB / 1.397 GB, free: 11.78 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.451e-05/1.533, allocations: 177.6 kB / 1.397 GB, free: 11.6 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.156e-05/1.533, allocations: 104.9 kB / 1.397 GB, free: 11.49 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003017/1.534, allocations: 275.7 kB / 1.397 GB, free: 11.32 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/1.534, allocations: 4 kB / 1.397 GB, free: 11.31 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002862/1.534, allocations: 31.31 kB / 1.397 GB, free: 11.31 MB / 1.092 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.0001539/1.534, allocations: 170.8 kB / 1.397 GB, free: 11.15 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 9.603e-05/1.534, allocations: 21.48 kB / 1.397 GB, free: 11.14 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.534, allocations: 0 / 1.397 GB, free: 11.14 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 2.975e-06/1.534, allocations: 1.5 kB / 1.397 GB, free: 11.14 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008604/1.535, allocations: 0.5546 MB / 1.398 GB, free: 10.64 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007154/1.536, allocations: 435.9 kB / 1.398 GB, free: 10.31 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/1.536, allocations: 0.7583 MB / 1.399 GB, free: 9.57 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001144/1.536, allocations: 33.38 kB / 1.399 GB, free: 9.555 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.499e-05/1.536, allocations: 19.31 kB / 1.399 GB, free: 9.547 MB / 1.092 GB Notification: Performance of SimCode: time 2.31e-07/1.536, allocations: 0 / 1.399 GB, free: 9.547 MB / 1.092 GB Notification: Performance of Templates: time 0.008037/1.544, allocations: 3.186 MB / 1.402 GB, free: 7.98 MB / 1.092 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