Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.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_latest_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_latest_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.001384/0.001384, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001606/0.001606, allocations: 197.1 kB / 16.14 MB, free: 6.711 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.442/1.442, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.872/2.872, allocations: 461.9 MB / 0.7342 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 70.81 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.343, allocations: 157.4 MB / 1.052 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.2073/0.5504, allocations: 171.8 MB / 1.22 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01032/0.5608, allocations: 9.504 MB / 1.229 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000415/0.5612, allocations: 4 kB / 1.229 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006977/0.562, allocations: 163 kB / 1.229 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.5623, allocations: 83.5 kB / 1.229 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.5624, allocations: 55.95 kB / 1.229 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003926/0.5629, allocations: 382.5 kB / 1.23 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002887/0.5631, allocations: 137.6 kB / 1.23 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003246/0.5635, allocations: 139.5 kB / 1.23 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.5636, allocations: 111.4 kB / 1.23 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/0.5637, allocations: 15.94 kB / 1.23 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.241e-05/0.5637, allocations: 12 kB / 1.23 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.54e-05/0.5637, allocations: 31.86 kB / 1.23 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.192e-05/0.5638, allocations: 91.55 kB / 1.23 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.5641, allocations: 203.2 kB / 1.231 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.5641, allocations: 4 kB / 1.231 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5641, allocations: 0 / 1.231 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.5641, allocations: 0 / 1.231 GB, free: 1.461 MB / 0.9825 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.0006023/0.5647, allocations: 475.1 kB / 1.231 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.5648, allocations: 8.031 kB / 1.231 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.5648, allocations: 27.66 kB / 1.231 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.5651, allocations: 244.7 kB / 1.231 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.5652, allocations: 12.44 kB / 1.231 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.5652, allocations: 31.88 kB / 1.231 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.5655, allocations: 231.8 kB / 1.232 GB, free: 340 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.5656, allocations: 3.938 kB / 1.232 GB, free: 336 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.5656, allocations: 11.94 kB / 1.232 GB, free: 324 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.5656, allocations: 4 kB / 1.232 GB, free: 320 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.5658, allocations: 95.83 kB / 1.232 GB, free: 224 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.5669, allocations: 1.429 MB / 1.233 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.765e-05/0.567, allocations: 169.1 kB / 1.233 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.671e-05/0.5671, allocations: 84.14 kB / 1.233 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.5671, allocations: 79.28 kB / 1.233 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.377e-05/0.5672, allocations: 109.8 kB / 1.233 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.5672, allocations: 0 / 1.233 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001073/0.5673, allocations: 49.41 kB / 1.234 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/0.5674, allocations: 130.7 kB / 1.234 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/0.5677, allocations: 287 kB / 1.234 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.5677, allocations: 29.7 kB / 1.234 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.5679, allocations: 143.9 kB / 1.234 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.556e-06/0.5679, allocations: 0 / 1.234 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.5679, allocations: 17.72 kB / 1.234 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.5681, allocations: 334.8 kB / 1.234 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.5681, allocations: 4 kB / 1.234 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.895e-05/0.5681, allocations: 31.38 kB / 1.234 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.184e-05/0.5682, allocations: 35.42 kB / 1.234 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5682, allocations: 0 / 1.234 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001506/0.5683, allocations: 81.3 kB / 1.235 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.5684, allocations: 4.109 kB / 1.235 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5684, allocations: 3.938 kB / 1.235 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.5684, allocations: 4 kB / 1.235 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.962e-05/0.5685, allocations: 7.984 kB / 1.235 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.5685, allocations: 4 kB / 1.235 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.789e-05/0.5686, allocations: 15.75 kB / 1.235 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.5686, allocations: 4 kB / 1.235 GB, free: 13 MB / 0.9981 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.0001429/0.5687, allocations: 210.6 kB / 1.235 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.625e-05/0.5688, allocations: 124.7 kB / 1.235 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.266e-05/0.5689, allocations: 121.9 kB / 1.235 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.971e-05/0.569, allocations: 180.2 kB / 1.235 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.511e-05/0.569, allocations: 188.2 kB / 1.235 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.627e-05/0.5691, allocations: 188.3 kB / 1.236 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.5694, allocations: 469 kB / 1.236 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.52e-05/0.5694, allocations: 104.9 kB / 1.236 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.5695, allocations: 108.9 kB / 1.236 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.994e-05/0.5696, allocations: 184.3 kB / 1.236 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.587e-05/0.5696, allocations: 180.2 kB / 1.237 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.163e-05/0.5697, allocations: 180.3 kB / 1.237 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.625e-05/0.5698, allocations: 176.3 kB / 1.237 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.5699, allocations: 335.4 kB / 1.237 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.5701, allocations: 201.8 kB / 1.237 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.876e-05/0.5701, allocations: 180.3 kB / 1.238 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.767e-05/0.5703, allocations: 101 kB / 1.238 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.758e-05/0.5703, allocations: 184.2 kB / 1.238 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.642e-05/0.5704, allocations: 101 kB / 1.238 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002067/0.5706, allocations: 209.9 kB / 1.238 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5706, allocations: 0 / 1.238 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000238/0.5708, allocations: 24 kB / 1.238 GB, free: 9.102 MB / 0.9981 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.0001394/0.571, allocations: 178.5 kB / 1.238 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.297e-05/0.5711, allocations: 11.94 kB / 1.238 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5711, allocations: 0 / 1.238 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.5711, allocations: 352 / 1.238 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008841/0.572, allocations: 0.6098 MB / 1.239 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005304/0.5725, allocations: 410.6 kB / 1.239 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.5728, allocations: 0.7248 MB / 1.24 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.575e-05/0.5729, allocations: 26.02 kB / 1.24 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.573, allocations: 15.44 kB / 1.24 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/0.573, allocations: 0 / 1.24 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of Templates: time 0.005113/0.5781, allocations: 2.295 MB / 1.242 GB, free: 4.809 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches