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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001565/0.001565, allocations: 115.2 kB / 16.37 MB, free: 6.016 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.001742/0.001742, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.572/1.572, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.556/2.556, allocations: 437.1 MB / 0.7112 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001257, allocations: 64.62 kB / 0.8707 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3501, allocations: 151.6 MB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 1.016/1.366, allocations: 174 MB / 1.189 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01066/1.376, allocations: 9.508 MB / 1.198 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000435/1.377, allocations: 10.12 kB / 1.198 GB, free: 10.5 MB / 0.9044 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0007926/1.378, allocations: 202.5 kB / 1.198 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000268/1.378, allocations: 83.19 kB / 1.198 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/1.378, allocations: 62.2 kB / 1.198 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003777/1.379, allocations: 319.3 kB / 1.199 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002885/1.379, allocations: 147 kB / 1.199 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003543/1.379, allocations: 164.9 kB / 1.199 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/1.379, allocations: 99.42 kB / 1.199 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/1.379, allocations: 17.25 kB / 1.199 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 3.523e-05/1.379, allocations: 14.5 kB / 1.199 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.05e-05/1.379, allocations: 38.14 kB / 1.199 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/1.38, allocations: 97.86 kB / 1.199 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002696/1.38, allocations: 225 kB / 1.199 GB, free: 9.512 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.38, allocations: 1.5 kB / 1.199 GB, free: 9.512 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.114e-06/1.38, allocations: 0 / 1.199 GB, free: 9.512 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.293e-06/1.38, allocations: 4 kB / 1.199 GB, free: 9.508 MB / 0.9044 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.0005452/1.38, allocations: 472.2 kB / 1.2 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/1.38, allocations: 11.61 kB / 1.2 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.256e-05/1.381, allocations: 27.38 kB / 1.2 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/1.381, allocations: 261.1 kB / 1.2 GB, free: 8.77 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/1.381, allocations: 12.97 kB / 1.2 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/1.381, allocations: 20.91 kB / 1.2 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/1.381, allocations: 232.6 kB / 1.2 GB, free: 8.562 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/1.381, allocations: 3.938 kB / 1.2 GB, free: 8.559 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/1.381, allocations: 8.531 kB / 1.2 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/1.381, allocations: 7.875 kB / 1.2 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/1.381, allocations: 89.52 kB / 1.201 GB, free: 8.508 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/1.383, allocations: 1.43 MB / 1.202 GB, free: 7.098 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/1.383, allocations: 170.6 kB / 1.202 GB, free: 6.922 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.632e-05/1.383, allocations: 93.48 kB / 1.202 GB, free: 6.828 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/1.383, allocations: 75.28 kB / 1.202 GB, free: 6.754 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.331e-05/1.383, allocations: 111.2 kB / 1.202 GB, free: 6.637 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/1.383, allocations: 0 / 1.202 GB, free: 6.637 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 9.292e-05/1.383, allocations: 47.05 kB / 1.202 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.015e-05/1.383, allocations: 130.7 kB / 1.203 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/1.383, allocations: 291.1 kB / 1.203 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/1.383, allocations: 25.7 kB / 1.203 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/1.384, allocations: 143.6 kB / 1.203 GB, free: 6.094 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-06/1.384, allocations: 0 / 1.203 GB, free: 6.094 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/1.384, allocations: 17.84 kB / 1.203 GB, free: 6.074 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001385/1.384, allocations: 338.8 kB / 1.203 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.236e-05/1.384, allocations: 6.312 kB / 1.203 GB, free: 5.734 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.589e-05/1.384, allocations: 24.78 kB / 1.203 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.174e-05/1.384, allocations: 37.39 kB / 1.203 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.384, allocations: 4 kB / 1.203 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001677/1.384, allocations: 75.42 kB / 1.203 GB, free: 5.602 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/1.384, allocations: 6.625 kB / 1.203 GB, free: 5.602 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/1.384, allocations: 3.984 kB / 1.203 GB, free: 5.598 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/1.384, allocations: 2.594 kB / 1.203 GB, free: 5.598 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.887e-05/1.384, allocations: 9 kB / 1.203 GB, free: 5.594 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/1.384, allocations: 1.375 kB / 1.203 GB, free: 5.594 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.105e-05/1.384, allocations: 21.34 kB / 1.203 GB, free: 5.578 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/1.384, allocations: 2.219 kB / 1.203 GB, free: 5.578 MB / 0.9044 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.0001291/1.384, allocations: 207.2 kB / 1.204 GB, free: 5.375 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.684e-05/1.384, allocations: 126.6 kB / 1.204 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.218e-05/1.385, allocations: 121.8 kB / 1.204 GB, free: 5.137 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.966e-05/1.385, allocations: 185.4 kB / 1.204 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.872e-05/1.385, allocations: 180.3 kB / 1.204 GB, free: 4.766 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.019e-05/1.385, allocations: 181.5 kB / 1.204 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/1.385, allocations: 471.3 kB / 1.205 GB, free: 4.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.661e-05/1.385, allocations: 105 kB / 1.205 GB, free: 3.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.565e-05/1.385, allocations: 110 kB / 1.205 GB, free: 3.867 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.278e-05/1.385, allocations: 181.6 kB / 1.205 GB, free: 3.684 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.621e-05/1.385, allocations: 181.6 kB / 1.205 GB, free: 3.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.678e-05/1.385, allocations: 180.2 kB / 1.206 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.476e-05/1.385, allocations: 189.7 kB / 1.206 GB, free: 3.129 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/1.386, allocations: 330.1 kB / 1.206 GB, free: 2.797 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.411e-05/1.386, allocations: 200.5 kB / 1.206 GB, free: 2.578 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.639e-05/1.386, allocations: 190.6 kB / 1.206 GB, free: 2.387 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.767e-05/1.386, allocations: 101 kB / 1.207 GB, free: 2.281 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/1.386, allocations: 182.9 kB / 1.207 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/1.386, allocations: 101 kB / 1.207 GB, free: 1.992 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001815/1.386, allocations: 211.4 kB / 1.207 GB, free: 1.852 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.386, allocations: 0 / 1.207 GB, free: 1.852 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002373/1.386, allocations: 22.41 kB / 1.207 GB, free: 1.852 MB / 0.9044 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.0001315/1.387, allocations: 176.2 kB / 1.207 GB, free: 1.688 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.779e-05/1.387, allocations: 15.31 kB / 1.207 GB, free: 1.68 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.387, allocations: 0 / 1.207 GB, free: 1.68 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/1.387, allocations: 0 / 1.207 GB, free: 1.68 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007209/1.387, allocations: 0.5372 MB / 1.208 GB, free: 1.184 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004772/1.388, allocations: 366.9 kB / 1.208 GB, free: 0.8867 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/1.388, allocations: 0.7231 MB / 1.209 GB, free: 172 kB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.846e-05/1.388, allocations: 22.47 kB / 1.209 GB, free: 160 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/1.388, allocations: 15.44 kB / 1.209 GB, free: 152 kB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/1.388, allocations: 0 / 1.209 GB, free: 152 kB / 0.9044 GB Notification: Performance of Templates: time 0.005257/1.394, allocations: 2.405 MB / 1.211 GB, free: 14.97 MB / 0.92 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=480 -s gbode -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/jenkins1/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