Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.InletToAirMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|souRev.outlet.backward.T|souRev.outlet.backward.X_w",fileNamePrefix="Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|souRev.outlet.backward.T|souRev.outlet.backward.X_w",fileNamePrefix="Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007409/0.007409, allocations: 97.66 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.001432/0.001432, allocations: 202.1 kB / 16.68 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.505/1.505, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.868/2.868, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 67.89 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.4139, allocations: 159.1 MB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 1.037/1.451, allocations: 174.5 MB / 1.391 GB, free: 13.1 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01238/1.463, allocations: 9.525 MB / 1.4 GB, free: 5.395 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005096/1.464, allocations: 10.44 kB / 1.4 GB, free: 5.391 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0008561/1.465, allocations: 198.1 kB / 1.4 GB, free: 5.219 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0004183/1.465, allocations: 97.61 kB / 1.401 GB, free: 5.137 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/1.465, allocations: 67.61 kB / 1.401 GB, free: 5.078 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0005866/1.466, allocations: 307.6 kB / 1.401 GB, free: 4.902 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003214/1.466, allocations: 104.4 kB / 1.401 GB, free: 4.832 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004983/1.467, allocations: 158 kB / 1.401 GB, free: 4.742 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/1.467, allocations: 107.9 kB / 1.401 GB, free: 4.668 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/1.467, allocations: 19.59 kB / 1.401 GB, free: 4.664 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 5.702e-05/1.467, allocations: 16.44 kB / 1.401 GB, free: 4.664 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 4.273e-05/1.467, allocations: 38.2 kB / 1.401 GB, free: 4.633 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001197/1.467, allocations: 100.9 kB / 1.401 GB, free: 4.566 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0003239/1.468, allocations: 218.4 kB / 1.402 GB, free: 4.41 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/1.468, allocations: 1.094 kB / 1.402 GB, free: 4.41 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.165e-06/1.468, allocations: 0 / 1.402 GB, free: 4.41 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.155e-05/1.468, allocations: 0 / 1.402 GB, free: 4.41 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000575/1.468, allocations: 480.4 kB / 1.402 GB, free: 3.941 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/1.468, allocations: 8.5 kB / 1.402 GB, free: 3.941 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.816e-05/1.468, allocations: 31.05 kB / 1.402 GB, free: 3.922 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004178/1.469, allocations: 265.6 kB / 1.402 GB, free: 3.652 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/1.469, allocations: 16.94 kB / 1.402 GB, free: 3.645 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/1.469, allocations: 15.81 kB / 1.402 GB, free: 3.641 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00035/1.469, allocations: 233 kB / 1.403 GB, free: 3.445 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/1.469, allocations: 1.219 kB / 1.403 GB, free: 3.445 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/1.469, allocations: 14.48 kB / 1.403 GB, free: 3.434 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/1.469, allocations: 13.14 kB / 1.403 GB, free: 3.426 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/1.469, allocations: 93.62 kB / 1.403 GB, free: 3.379 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/1.471, allocations: 1.435 MB / 1.404 GB, free: 1.965 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 8.167e-05/1.471, allocations: 174.1 kB / 1.404 GB, free: 1.785 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.25e-05/1.471, allocations: 80.14 kB / 1.404 GB, free: 1.703 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/1.471, allocations: 80.25 kB / 1.404 GB, free: 1.625 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.313e-05/1.471, allocations: 107.2 kB / 1.405 GB, free: 1.512 MB / 1.092 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/1.471, allocations: 0 / 1.405 GB, free: 1.512 MB / 1.092 GB Notification: Performance of matching and sorting (n=0): time 9.893e-05/1.471, allocations: 50.97 kB / 1.405 GB, free: 1.465 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/1.471, allocations: 128.2 kB / 1.405 GB, free: 1.328 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/1.471, allocations: 289.8 kB / 1.405 GB, free: 1.137 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/1.471, allocations: 31.11 kB / 1.405 GB, free: 1.102 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 9.712e-05/1.471, allocations: 142.3 kB / 1.405 GB, free: 0.9688 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/1.471, allocations: 0 / 1.405 GB, free: 0.9688 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/1.471, allocations: 18.5 kB / 1.405 GB, free: 0.9492 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.472, allocations: 335 kB / 1.406 GB, free: 0.6172 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.416e-05/1.472, allocations: 2.844 kB / 1.406 GB, free: 0.6172 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.686e-05/1.472, allocations: 30.83 kB / 1.406 GB, free: 0.5781 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.513e-05/1.472, allocations: 37.47 kB / 1.406 GB, free: 0.5352 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.472, allocations: 1.031 kB / 1.406 GB, free: 0.5352 MB / 1.092 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001567/1.472, allocations: 73.08 kB / 1.406 GB, free: 492 kB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/1.472, allocations: 5.781 kB / 1.406 GB, free: 492 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/1.472, allocations: 5.25 kB / 1.406 GB, free: 488 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/1.472, allocations: 1.031 kB / 1.406 GB, free: 488 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.486e-05/1.472, allocations: 10.69 kB / 1.406 GB, free: 484 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/1.472, allocations: 1.312 kB / 1.406 GB, free: 484 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.02e-05/1.472, allocations: 21.41 kB / 1.406 GB, free: 468 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/1.472, allocations: 2.688 kB / 1.406 GB, free: 468 kB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001246/1.472, allocations: 200.4 kB / 1.406 GB, free: 264 kB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.542e-05/1.472, allocations: 126.5 kB / 1.406 GB, free: 140 kB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.625e-05/1.472, allocations: 133.4 kB / 1.406 GB, free: 8 kB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.522e-05/1.472, allocations: 177.5 kB / 1.406 GB, free: 15.83 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.656e-05/1.472, allocations: 181.5 kB / 1.407 GB, free: 15.64 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.095e-05/1.472, allocations: 176.3 kB / 1.407 GB, free: 15.46 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/1.473, allocations: 471 kB / 1.407 GB, free: 14.97 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.949e-05/1.473, allocations: 114.9 kB / 1.407 GB, free: 14.86 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-05/1.473, allocations: 104.9 kB / 1.407 GB, free: 14.75 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-05/1.473, allocations: 181.3 kB / 1.408 GB, free: 14.56 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.592e-05/1.473, allocations: 177.4 kB / 1.408 GB, free: 14.38 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-05/1.473, allocations: 185.4 kB / 1.408 GB, free: 14.2 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.106e-05/1.473, allocations: 190.8 kB / 1.408 GB, free: 14 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/1.473, allocations: 332.1 kB / 1.408 GB, free: 13.67 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/1.473, allocations: 202.7 kB / 1.409 GB, free: 13.45 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.194e-05/1.474, allocations: 178.4 kB / 1.409 GB, free: 13.27 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/1.474, allocations: 106.2 kB / 1.409 GB, free: 13.16 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.251e-05/1.474, allocations: 184.3 kB / 1.409 GB, free: 12.97 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.993e-05/1.474, allocations: 110.2 kB / 1.409 GB, free: 12.86 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002255/1.474, allocations: 203.9 kB / 1.409 GB, free: 12.73 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/1.474, allocations: 0 / 1.409 GB, free: 12.73 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002704/1.474, allocations: 22.91 kB / 1.409 GB, free: 12.73 MB / 1.107 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.0001477/1.474, allocations: 171.5 kB / 1.409 GB, free: 12.56 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 8.753e-05/1.474, allocations: 22.62 kB / 1.409 GB, free: 12.55 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.474, allocations: 1.312 kB / 1.409 GB, free: 12.55 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/1.474, allocations: 0 / 1.409 GB, free: 12.55 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007979/1.475, allocations: 0.5348 MB / 1.41 GB, free: 12.05 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000611/1.476, allocations: 374 kB / 1.41 GB, free: 11.76 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/1.476, allocations: 0.7245 MB / 1.411 GB, free: 11.04 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001031/1.476, allocations: 25.25 kB / 1.411 GB, free: 11.03 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.933e-05/1.476, allocations: 16.44 kB / 1.411 GB, free: 11.02 MB / 1.107 GB Notification: Performance of SimCode: time 1.042e-06/1.476, allocations: 1.156 kB / 1.411 GB, free: 11.02 MB / 1.107 GB Notification: Performance of Templates: time 0.006734/1.483, allocations: 2.433 MB / 1.414 GB, free: 9.824 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.makefile (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & ./Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches