Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001361/0.001361, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001464/0.001464, allocations: 193.8 kB / 16.14 MB, free: 6.676 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 / 239.8 MB, free: 4.637 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 2.873/2.873, allocations: 437 MB / 0.7099 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002751/0.00275, allocations: 64.08 kB / 0.8686 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6749/0.6776, allocations: 151.6 MB / 1.017 GB, free: 3.055 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.2071/0.8848, allocations: 171.8 MB / 1.184 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01345/0.8983, allocations: 9.5 MB / 1.194 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004502/0.8988, allocations: 7.938 kB / 1.194 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000825/0.8997, allocations: 159 kB / 1.194 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003678/0.9001, allocations: 79.44 kB / 1.194 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.9003, allocations: 51.95 kB / 1.194 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005683/0.9009, allocations: 378.7 kB / 1.194 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003452/0.9012, allocations: 145.6 kB / 1.194 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004488/0.9017, allocations: 143.4 kB / 1.195 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.9019, allocations: 107.4 kB / 1.195 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.902, allocations: 12 kB / 1.195 GB, free: 12 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 4.487e-05/0.902, allocations: 12 kB / 1.195 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.48e-05/0.9021, allocations: 35.8 kB / 1.195 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.9022, allocations: 99.48 kB / 1.195 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.9025, allocations: 199.2 kB / 1.195 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.9025, allocations: 4 kB / 1.195 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9025, allocations: 4 kB / 1.195 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.9025, allocations: 0 / 1.195 GB, free: 11.66 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006095/0.9031, allocations: 471.1 kB / 1.196 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.9032, allocations: 8.031 kB / 1.196 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.445e-05/0.9033, allocations: 27.66 kB / 1.196 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.9036, allocations: 253.5 kB / 1.196 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.9036, allocations: 12.44 kB / 1.196 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.9037, allocations: 24 kB / 1.196 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003835/0.9041, allocations: 223.8 kB / 1.196 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.9041, allocations: 0 / 1.196 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.9041, allocations: 19.92 kB / 1.196 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.9041, allocations: 4 kB / 1.196 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.9043, allocations: 91.78 kB / 1.196 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.9057, allocations: 1.437 MB / 1.198 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.9058, allocations: 173.1 kB / 1.198 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.597e-05/0.9059, allocations: 80.14 kB / 1.198 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.352e-05/0.9059, allocations: 75.28 kB / 1.198 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.637e-05/0.906, allocations: 113.8 kB / 1.198 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/0.906, allocations: 0 / 1.198 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.000114/0.9061, allocations: 53.36 kB / 1.198 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.9063, allocations: 130.7 kB / 1.198 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003576/0.9066, allocations: 287 kB / 1.198 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.9066, allocations: 25.7 kB / 1.198 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.9068, allocations: 147.9 kB / 1.199 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-06/0.9068, allocations: 0 / 1.199 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.9068, allocations: 13.72 kB / 1.199 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.907, allocations: 338.8 kB / 1.199 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.245e-05/0.907, allocations: 4 kB / 1.199 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.11e-05/0.9071, allocations: 31.42 kB / 1.199 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.426e-05/0.9071, allocations: 35.38 kB / 1.199 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.9072, allocations: 0 / 1.199 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001556/0.9073, allocations: 77.34 kB / 1.199 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.9073, allocations: 4 kB / 1.199 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.9073, allocations: 0 / 1.199 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.9074, allocations: 8.031 kB / 1.199 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.925e-05/0.9074, allocations: 11.92 kB / 1.199 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.9075, allocations: 4 kB / 1.199 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.016e-05/0.9075, allocations: 23.69 kB / 1.199 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.9075, allocations: 4 kB / 1.199 GB, free: 7.184 MB / 0.9512 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.0001482/0.9077, allocations: 201.2 kB / 1.199 GB, free: 6.977 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.9078, allocations: 132.6 kB / 1.199 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.406e-05/0.9079, allocations: 121.9 kB / 1.2 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.031e-05/0.908, allocations: 176.3 kB / 1.2 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.828e-05/0.9081, allocations: 180.2 kB / 1.2 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.862e-05/0.9082, allocations: 184.3 kB / 1.2 GB, free: 6.16 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004066/0.9086, allocations: 477.1 kB / 1.201 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.214e-05/0.9087, allocations: 108.9 kB / 1.201 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.039e-05/0.9087, allocations: 101 kB / 1.201 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.409e-05/0.9088, allocations: 184.2 kB / 1.201 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.833e-05/0.9089, allocations: 180.3 kB / 1.201 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.347e-05/0.909, allocations: 188.2 kB / 1.201 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.859e-05/0.9091, allocations: 180.2 kB / 1.201 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.9093, allocations: 323.5 kB / 1.202 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.9094, allocations: 201.8 kB / 1.202 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.9096, allocations: 184.2 kB / 1.202 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.9097, allocations: 105 kB / 1.202 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.288e-05/0.9098, allocations: 180.3 kB / 1.202 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.867e-05/0.9098, allocations: 108.9 kB / 1.202 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002141/0.9101, allocations: 206 kB / 1.203 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9101, allocations: 0 / 1.203 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002737/0.9103, allocations: 24 kB / 1.203 GB, free: 3.293 MB / 0.9512 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.0001713/0.9105, allocations: 179 kB / 1.203 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.349e-05/0.9106, allocations: 11.94 kB / 1.203 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9106, allocations: 0 / 1.203 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.9106, allocations: 0 / 1.203 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009476/0.9116, allocations: 0.6015 MB / 1.203 GB, free: 2.488 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005917/0.9122, allocations: 402.6 kB / 1.204 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/0.9126, allocations: 0.7364 MB / 1.205 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.487e-05/0.9127, allocations: 21.94 kB / 1.205 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.9127, allocations: 19.44 kB / 1.205 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of SimCode: time 2.11e-07/0.9128, allocations: 0 / 1.205 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of Templates: time 0.006381/0.9191, allocations: 2.297 MB / 1.207 GB, free: 15 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches