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.007613/0.007613, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001728/0.001729, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.07/3.07, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001363, allocations: 63.91 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4014, allocations: 157.4 MB / 1.208 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 1.23/1.632, allocations: 174.1 MB / 1.378 GB, free: 12.17 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01137/1.643, allocations: 9.519 MB / 1.387 GB, free: 4.723 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005347/1.644, allocations: 6.625 kB / 1.387 GB, free: 4.723 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007459/1.645, allocations: 193.5 kB / 1.387 GB, free: 4.555 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003146/1.645, allocations: 87.72 kB / 1.387 GB, free: 4.48 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000227/1.645, allocations: 61.11 kB / 1.387 GB, free: 4.43 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004814/1.646, allocations: 324.5 kB / 1.388 GB, free: 4.242 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004353/1.646, allocations: 205.5 kB / 1.388 GB, free: 4.129 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004498/1.647, allocations: 166 kB / 1.388 GB, free: 4.035 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/1.647, allocations: 129.1 kB / 1.388 GB, free: 3.945 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.797e-05/1.647, allocations: 22.25 kB / 1.388 GB, free: 3.945 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 5.248e-05/1.647, allocations: 21.38 kB / 1.388 GB, free: 3.945 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001298/1.647, allocations: 68.02 kB / 1.388 GB, free: 3.898 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001746/1.647, allocations: 128.9 kB / 1.388 GB, free: 3.812 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004283/1.648, allocations: 306.3 kB / 1.389 GB, free: 3.59 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.648, allocations: 4 kB / 1.389 GB, free: 3.586 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.144e-06/1.648, allocations: 0 / 1.389 GB, free: 3.586 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.067e-05/1.648, allocations: 0 / 1.389 GB, free: 3.586 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.0007122/1.648, allocations: 0.5051 MB / 1.389 GB, free: 3.102 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/1.648, allocations: 9.812 kB / 1.389 GB, free: 3.102 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.516e-05/1.649, allocations: 38.12 kB / 1.389 GB, free: 3.078 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004701/1.649, allocations: 273.2 kB / 1.389 GB, free: 2.809 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/1.649, allocations: 24.09 kB / 1.389 GB, free: 2.797 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.466e-05/1.649, allocations: 24.59 kB / 1.39 GB, free: 2.789 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005282/1.65, allocations: 323.2 kB / 1.39 GB, free: 2.531 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/1.65, allocations: 5.219 kB / 1.39 GB, free: 2.527 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/1.65, allocations: 12.22 kB / 1.39 GB, free: 2.52 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/1.65, allocations: 6.938 kB / 1.39 GB, free: 2.52 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/1.65, allocations: 142.9 kB / 1.39 GB, free: 2.449 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/1.652, allocations: 1.822 MB / 1.392 GB, free: 0.6875 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/1.652, allocations: 170.2 kB / 1.392 GB, free: 0.5117 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.382e-05/1.652, allocations: 84.14 kB / 1.392 GB, free: 436 kB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.209e-05/1.652, allocations: 76.31 kB / 1.392 GB, free: 360 kB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.784e-05/1.652, allocations: 115.1 kB / 1.392 GB, free: 236 kB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.593e-06/1.652, allocations: 0 / 1.392 GB, free: 236 kB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 0.0001191/1.652, allocations: 49.56 kB / 1.392 GB, free: 192 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.518e-05/1.652, allocations: 131.9 kB / 1.392 GB, free: 48 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005222/1.653, allocations: 380.9 kB / 1.393 GB, free: 15.81 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/1.653, allocations: 25.7 kB / 1.393 GB, free: 15.78 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/1.653, allocations: 165.7 kB / 1.393 GB, free: 15.62 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 4.689e-06/1.653, allocations: 1.406 kB / 1.393 GB, free: 15.62 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/1.653, allocations: 17.84 kB / 1.393 GB, free: 15.61 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001606/1.653, allocations: 337.6 kB / 1.393 GB, free: 15.27 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.805e-05/1.653, allocations: 3.812 kB / 1.393 GB, free: 15.27 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.869e-05/1.653, allocations: 45.41 kB / 1.393 GB, free: 15.22 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.49e-05/1.653, allocations: 40.95 kB / 1.393 GB, free: 15.17 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.653, allocations: 0 / 1.393 GB, free: 15.17 MB / 1.092 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002013/1.653, allocations: 96.34 kB / 1.393 GB, free: 15.1 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/1.653, allocations: 7.719 kB / 1.393 GB, free: 15.1 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/1.653, allocations: 1.062 kB / 1.393 GB, free: 15.1 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/1.653, allocations: 1.094 kB / 1.393 GB, free: 15.1 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.388e-05/1.654, allocations: 15.73 kB / 1.393 GB, free: 15.09 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/1.654, allocations: 2.062 kB / 1.393 GB, free: 15.09 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.74e-05/1.654, allocations: 23.44 kB / 1.393 GB, free: 15.08 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/1.654, allocations: 2.812 kB / 1.393 GB, free: 15.08 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.0001521/1.654, allocations: 215.4 kB / 1.394 GB, free: 14.87 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.179e-05/1.654, allocations: 137.2 kB / 1.394 GB, free: 14.74 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.295e-05/1.654, allocations: 128.9 kB / 1.394 GB, free: 14.62 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.145e-05/1.654, allocations: 177.5 kB / 1.394 GB, free: 14.44 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.09e-05/1.654, allocations: 185.4 kB / 1.394 GB, free: 14.25 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.229e-05/1.654, allocations: 184.2 kB / 1.394 GB, free: 14.06 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000357/1.655, allocations: 492.5 kB / 1.395 GB, free: 13.56 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.863e-05/1.655, allocations: 102.1 kB / 1.395 GB, free: 13.45 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.325e-05/1.655, allocations: 109.1 kB / 1.395 GB, free: 13.34 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.755e-05/1.655, allocations: 185.4 kB / 1.395 GB, free: 13.15 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.611e-05/1.655, allocations: 181.6 kB / 1.395 GB, free: 12.97 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.457e-05/1.655, allocations: 191.4 kB / 1.396 GB, free: 12.78 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.882e-05/1.655, allocations: 177.5 kB / 1.396 GB, free: 12.6 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/1.655, allocations: 326.2 kB / 1.396 GB, free: 12.27 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/1.655, allocations: 218.9 kB / 1.396 GB, free: 12.04 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-05/1.655, allocations: 189.2 kB / 1.397 GB, free: 11.85 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/1.656, allocations: 102 kB / 1.397 GB, free: 11.74 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/1.656, allocations: 181.3 kB / 1.397 GB, free: 11.56 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.708e-05/1.656, allocations: 106.3 kB / 1.397 GB, free: 11.45 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003182/1.656, allocations: 270.4 kB / 1.397 GB, free: 11.28 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/1.656, allocations: 0 / 1.397 GB, free: 11.28 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000307/1.656, allocations: 31.25 kB / 1.397 GB, free: 11.28 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.0001737/1.656, allocations: 175.2 kB / 1.397 GB, free: 11.11 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0001139/1.657, allocations: 21.55 kB / 1.397 GB, free: 11.1 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.657, allocations: 0 / 1.397 GB, free: 11.1 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/1.657, allocations: 1.062 kB / 1.397 GB, free: 11.1 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009404/1.658, allocations: 0.547 MB / 1.398 GB, free: 10.61 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007675/1.658, allocations: 445.7 kB / 1.398 GB, free: 10.27 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/1.659, allocations: 0.7585 MB / 1.399 GB, free: 9.535 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001133/1.659, allocations: 30.03 kB / 1.399 GB, free: 9.523 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.512e-05/1.659, allocations: 22.38 kB / 1.399 GB, free: 9.512 MB / 1.092 GB Notification: Performance of SimCode: time 1.8e-07/1.659, allocations: 1.188 kB / 1.399 GB, free: 9.512 MB / 1.092 GB Notification: Performance of Templates: time 0.009636/1.669, allocations: 3.238 MB / 1.402 GB, free: 7.91 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