Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008137/0.008137, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001548/0.001548, allocations: 192.8 kB / 16.67 MB, free: 5.52 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.264/2.264, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 59.89 kB / 0.9509 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.226/1.227, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.2318/1.459, allocations: 148 MB / 1.232 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006056/1.465, allocations: 4.657 MB / 1.237 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004683/1.465, allocations: 10.66 kB / 1.237 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006465/1.466, allocations: 164.7 kB / 1.237 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005105/1.467, allocations: 89.61 kB / 1.237 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/1.467, allocations: 64.98 kB / 1.237 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005874/1.468, allocations: 301.9 kB / 1.238 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000366/1.468, allocations: 148.5 kB / 1.238 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000283/1.468, allocations: 111.7 kB / 1.238 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/1.469, allocations: 153.7 kB / 1.238 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/1.469, allocations: 16.09 kB / 1.238 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.678e-05/1.469, allocations: 16.44 kB / 1.238 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/1.469, allocations: 67.02 kB / 1.238 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001327/1.469, allocations: 113.8 kB / 1.238 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003115/1.469, allocations: 237.3 kB / 1.238 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.469, allocations: 0 / 1.238 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.084e-06/1.469, allocations: 1.375 kB / 1.238 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.077e-05/1.469, allocations: 0 / 1.238 GB, free: 1.984 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006472/1.47, allocations: 494.2 kB / 1.239 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.227e-05/1.47, allocations: 9.625 kB / 1.239 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.411e-05/1.47, allocations: 25.03 kB / 1.239 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004624/1.471, allocations: 265 kB / 1.239 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/1.471, allocations: 17.06 kB / 1.239 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/1.471, allocations: 22.12 kB / 1.239 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004684/1.471, allocations: 303.1 kB / 1.24 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/1.471, allocations: 5.406 kB / 1.24 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/1.471, allocations: 15.75 kB / 1.24 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/1.471, allocations: 6.188 kB / 1.24 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/1.471, allocations: 120.6 kB / 1.24 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/1.473, allocations: 1.965 MB / 1.242 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.1e-05/1.473, allocations: 170.7 kB / 1.242 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.304e-05/1.473, allocations: 80.14 kB / 1.242 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/1.473, allocations: 80.72 kB / 1.242 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.243e-05/1.473, allocations: 113.9 kB / 1.242 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.293e-06/1.473, allocations: 0 / 1.242 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001283/1.473, allocations: 61.78 kB / 1.242 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/1.473, allocations: 130.6 kB / 1.242 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004027/1.474, allocations: 327 kB / 1.243 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/1.474, allocations: 25.7 kB / 1.243 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/1.474, allocations: 165.4 kB / 1.243 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.581e-06/1.474, allocations: 3.906 kB / 1.243 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/1.474, allocations: 28.5 kB / 1.243 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.474, allocations: 332.3 kB / 1.243 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.389e-05/1.474, allocations: 8.125 kB / 1.243 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.459e-05/1.474, allocations: 59.11 kB / 1.243 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.626e-05/1.474, allocations: 72.44 kB / 1.243 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.474, allocations: 0 / 1.243 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000229/1.475, allocations: 109.1 kB / 1.243 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/1.475, allocations: 5.5 kB / 1.243 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.475, allocations: 2.875 kB / 1.243 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/1.475, allocations: 9.766 kB / 1.243 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.447e-05/1.475, allocations: 19.44 kB / 1.243 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/1.475, allocations: 2.625 kB / 1.243 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.768e-05/1.475, allocations: 27.23 kB / 1.243 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.026e-06/1.475, allocations: 3.656 kB / 1.243 GB, free: 13.27 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001501/1.475, allocations: 209.9 kB / 1.244 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.94e-05/1.475, allocations: 129.3 kB / 1.244 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.464e-05/1.475, allocations: 130.5 kB / 1.244 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.3e-05/1.475, allocations: 185.2 kB / 1.244 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.334e-05/1.475, allocations: 177.3 kB / 1.244 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.55e-05/1.476, allocations: 181.5 kB / 1.244 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003489/1.476, allocations: 474.6 kB / 1.245 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.928e-05/1.476, allocations: 102.7 kB / 1.245 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.818e-05/1.476, allocations: 108.9 kB / 1.245 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.925e-05/1.476, allocations: 181.5 kB / 1.245 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.683e-05/1.476, allocations: 189.7 kB / 1.245 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.331e-05/1.476, allocations: 180.4 kB / 1.246 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-05/1.476, allocations: 181.9 kB / 1.246 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/1.476, allocations: 328.7 kB / 1.246 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/1.477, allocations: 202.6 kB / 1.246 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/1.477, allocations: 188.2 kB / 1.246 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/1.477, allocations: 106.5 kB / 1.246 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.148e-05/1.477, allocations: 178.2 kB / 1.247 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.957e-05/1.477, allocations: 105 kB / 1.247 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002731/1.477, allocations: 236.1 kB / 1.247 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/1.477, allocations: 0 / 1.247 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003091/1.478, allocations: 33.34 kB / 1.247 GB, free: 9.516 MB / 0.9825 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.0001544/1.478, allocations: 175.6 kB / 1.247 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001048/1.478, allocations: 25.33 kB / 1.247 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/1.478, allocations: 5.438 kB / 1.247 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.216e-06/1.478, allocations: 32 / 1.247 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007587/1.479, allocations: 0.5302 MB / 1.248 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006909/1.479, allocations: 401 kB / 1.248 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/1.48, allocations: 0.7488 MB / 1.249 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001429/1.48, allocations: 35.05 kB / 1.249 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/1.48, allocations: 16.5 kB / 1.249 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of SimCode: time 2.1e-07/1.48, allocations: 0 / 1.249 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of Templates: time 0.006359/1.486, allocations: 2.361 MB / 1.251 GB, free: 5.984 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches