Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001153/0.001153, 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.001217/0.001217, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.378/1.378, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.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.459/2.459, allocations: 390.2 MB / 0.6642 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.91 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7827/0.784, allocations: 140.3 MB / 0.9489 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.2167/1.001, allocations: 171.8 MB / 1.117 GB, free: 5.707 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01177/1.013, allocations: 9.5 MB / 1.126 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004171/1.013, allocations: 8 kB / 1.126 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000785/1.014, allocations: 163 kB / 1.126 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003802/1.014, allocations: 83.5 kB / 1.126 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/1.014, allocations: 51.95 kB / 1.126 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006272/1.015, allocations: 374.6 kB / 1.127 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003088/1.015, allocations: 149.6 kB / 1.127 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000446/1.016, allocations: 143.4 kB / 1.127 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/1.016, allocations: 107.4 kB / 1.127 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/1.016, allocations: 12 kB / 1.127 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.895e-05/1.016, allocations: 12 kB / 1.127 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.644e-05/1.016, allocations: 35.86 kB / 1.127 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/1.016, allocations: 99.48 kB / 1.127 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002128/1.017, allocations: 199.3 kB / 1.127 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.017, allocations: 0 / 1.127 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.523e-06/1.017, allocations: 0 / 1.127 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.14e-06/1.017, allocations: 4 kB / 1.127 GB, free: 10.76 MB / 0.8887 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.0005334/1.017, allocations: 475 kB / 1.128 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/1.017, allocations: 8.031 kB / 1.128 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.409e-05/1.017, allocations: 23.75 kB / 1.128 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003949/1.018, allocations: 250.5 kB / 1.128 GB, free: 9.934 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/1.018, allocations: 16.44 kB / 1.128 GB, free: 9.914 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/1.018, allocations: 20 kB / 1.128 GB, free: 9.895 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003963/1.018, allocations: 227.8 kB / 1.128 GB, free: 9.641 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/1.018, allocations: 7.984 kB / 1.128 GB, free: 9.633 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/1.018, allocations: 11.94 kB / 1.128 GB, free: 9.621 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/1.018, allocations: 8 kB / 1.128 GB, free: 9.613 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/1.018, allocations: 83.84 kB / 1.128 GB, free: 9.531 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/1.02, allocations: 1.441 MB / 1.13 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.559e-05/1.02, allocations: 169.1 kB / 1.13 GB, free: 7.828 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.291e-05/1.02, allocations: 80.14 kB / 1.13 GB, free: 7.746 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/1.02, allocations: 75.28 kB / 1.13 GB, free: 7.672 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001073/1.02, allocations: 113.8 kB / 1.13 GB, free: 7.551 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/1.02, allocations: 4 kB / 1.13 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 9.899e-05/1.021, allocations: 45.53 kB / 1.13 GB, free: 7.496 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/1.021, allocations: 130.6 kB / 1.13 GB, free: 7.355 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004473/1.021, allocations: 287 kB / 1.131 GB, free: 7.062 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/1.021, allocations: 25.7 kB / 1.131 GB, free: 7.031 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/1.021, allocations: 147.9 kB / 1.131 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/1.021, allocations: 0 / 1.131 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/1.021, allocations: 13.72 kB / 1.131 GB, free: 6.863 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.021, allocations: 346.7 kB / 1.131 GB, free: 6.516 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/1.021, allocations: 8 kB / 1.131 GB, free: 6.508 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.65e-05/1.021, allocations: 27.42 kB / 1.131 GB, free: 6.469 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.807e-05/1.022, allocations: 35.38 kB / 1.131 GB, free: 6.422 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.022, allocations: 4 kB / 1.131 GB, free: 6.418 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001749/1.022, allocations: 77.28 kB / 1.131 GB, free: 6.336 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/1.022, allocations: 4 kB / 1.131 GB, free: 6.332 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/1.022, allocations: 0 / 1.131 GB, free: 6.332 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/1.022, allocations: 4 kB / 1.131 GB, free: 6.328 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/1.022, allocations: 4 kB / 1.131 GB, free: 6.324 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/1.022, allocations: 0 / 1.131 GB, free: 6.324 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.582e-05/1.022, allocations: 31.81 kB / 1.131 GB, free: 6.293 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/1.022, allocations: 0 / 1.131 GB, free: 6.293 MB / 0.8887 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.0001258/1.022, allocations: 205 kB / 1.132 GB, free: 6.082 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.34e-05/1.022, allocations: 128.7 kB / 1.132 GB, free: 5.949 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.501e-05/1.022, allocations: 121.9 kB / 1.132 GB, free: 5.824 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.841e-05/1.022, allocations: 180.2 kB / 1.132 GB, free: 5.641 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.093e-05/1.022, allocations: 180.3 kB / 1.132 GB, free: 5.457 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.191e-05/1.022, allocations: 188.2 kB / 1.132 GB, free: 5.266 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003429/1.023, allocations: 469.1 kB / 1.133 GB, free: 4.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.834e-05/1.023, allocations: 108.9 kB / 1.133 GB, free: 4.637 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.759e-05/1.023, allocations: 101 kB / 1.133 GB, free: 4.531 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.246e-05/1.023, allocations: 180.3 kB / 1.133 GB, free: 4.348 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-05/1.023, allocations: 188.2 kB / 1.133 GB, free: 4.156 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.45e-05/1.023, allocations: 176.3 kB / 1.134 GB, free: 3.977 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.001e-05/1.023, allocations: 184.4 kB / 1.134 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/1.023, allocations: 323.6 kB / 1.134 GB, free: 3.449 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/1.024, allocations: 209.7 kB / 1.134 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.894e-05/1.024, allocations: 180.3 kB / 1.134 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/1.024, allocations: 104.9 kB / 1.134 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.296e-05/1.024, allocations: 180.2 kB / 1.135 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/1.024, allocations: 109 kB / 1.135 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002196/1.024, allocations: 206 kB / 1.135 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/1.024, allocations: 4 kB / 1.135 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003256/1.025, allocations: 24 kB / 1.135 GB, free: 2.402 MB / 0.8887 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.0003055/1.025, allocations: 178.4 kB / 1.135 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 7.82e-05/1.025, allocations: 8 kB / 1.135 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/1.025, allocations: 0 / 1.135 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-06/1.025, allocations: 0 / 1.135 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/1.026, allocations: 0.6141 MB / 1.136 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005991/1.027, allocations: 398.7 kB / 1.136 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/1.027, allocations: 0.7287 MB / 1.137 GB, free: 432 kB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001115/1.027, allocations: 17.95 kB / 1.137 GB, free: 412 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/1.027, allocations: 19.44 kB / 1.137 GB, free: 392 kB / 0.8887 GB Notification: Performance of SimCode: time 7.71e-07/1.027, allocations: 0 / 1.137 GB, free: 392 kB / 0.8887 GB Notification: Performance of Templates: time 0.005745/1.033, allocations: 2.304 MB / 1.139 GB, free: 14.11 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches