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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001636/0.001636, allocations: 103.9 kB / 16.35 MB, free: 5.875 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.001624/0.001624, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.393/2.393, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001332, allocations: 63.34 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3052, allocations: 140.4 MB / 0.9511 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.8308/1.136, allocations: 174 MB / 1.121 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008917/1.145, allocations: 9.503 MB / 1.13 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004967/1.146, allocations: 12.81 kB / 1.13 GB, free: 5.457 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.0008456/1.146, allocations: 202.3 kB / 1.131 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003188/1.147, allocations: 90.05 kB / 1.131 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/1.147, allocations: 65.12 kB / 1.131 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004061/1.147, allocations: 313.3 kB / 1.131 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003227/1.148, allocations: 149.9 kB / 1.131 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003727/1.148, allocations: 155.5 kB / 1.131 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/1.148, allocations: 109 kB / 1.131 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/1.148, allocations: 16 kB / 1.131 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.524e-05/1.148, allocations: 15.81 kB / 1.131 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/1.148, allocations: 37.17 kB / 1.131 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001146/1.148, allocations: 98.45 kB / 1.132 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002936/1.149, allocations: 216.2 kB / 1.132 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.149, allocations: 3.688 kB / 1.132 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.194e-06/1.149, allocations: 1.203 kB / 1.132 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.332e-06/1.149, allocations: 0 / 1.132 GB, free: 5.402 MB / 0.8575 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.000699/1.15, allocations: 478.9 kB / 1.132 GB, free: 20.99 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/1.15, allocations: 14.03 kB / 1.132 GB, free: 20.98 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.476e-05/1.15, allocations: 23.44 kB / 1.132 GB, free: 20.97 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/1.15, allocations: 266 kB / 1.132 GB, free: 20.76 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/1.15, allocations: 12.09 kB / 1.132 GB, free: 20.76 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/1.15, allocations: 19.22 kB / 1.133 GB, free: 20.76 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/1.15, allocations: 237.3 kB / 1.133 GB, free: 20.64 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/1.15, allocations: 1.203 kB / 1.133 GB, free: 20.64 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/1.15, allocations: 10.53 kB / 1.133 GB, free: 20.64 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/1.15, allocations: 13.84 kB / 1.133 GB, free: 20.63 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/1.151, allocations: 88.28 kB / 1.133 GB, free: 20.63 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/1.152, allocations: 1.428 MB / 1.134 GB, free: 19.42 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 8.577e-05/1.152, allocations: 169.3 kB / 1.134 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.123e-05/1.152, allocations: 84.14 kB / 1.134 GB, free: 19.16 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/1.152, allocations: 77.14 kB / 1.135 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/1.152, allocations: 110.6 kB / 1.135 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.253e-06/1.152, allocations: 0 / 1.135 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 8.933e-05/1.152, allocations: 50.67 kB / 1.135 GB, free: 18.93 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/1.152, allocations: 127.2 kB / 1.135 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/1.152, allocations: 291.6 kB / 1.135 GB, free: 18.69 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/1.152, allocations: 25.7 kB / 1.135 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/1.153, allocations: 144.5 kB / 1.135 GB, free: 18.56 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-06/1.153, allocations: 1.438 kB / 1.135 GB, free: 18.56 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/1.153, allocations: 16.25 kB / 1.135 GB, free: 18.55 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.153, allocations: 341.4 kB / 1.136 GB, free: 18.23 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.212e-05/1.153, allocations: 2.344 kB / 1.136 GB, free: 18.23 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.111e-05/1.153, allocations: 35.02 kB / 1.136 GB, free: 18.19 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.409e-05/1.153, allocations: 34.22 kB / 1.136 GB, free: 18.16 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/1.153, allocations: 0 / 1.136 GB, free: 18.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000141/1.153, allocations: 76.95 kB / 1.136 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/1.153, allocations: 6.562 kB / 1.136 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/1.153, allocations: 2.375 kB / 1.136 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/1.153, allocations: 1.125 kB / 1.136 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.019e-05/1.153, allocations: 8.734 kB / 1.136 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/1.153, allocations: 3.969 kB / 1.136 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.555e-05/1.153, allocations: 21.44 kB / 1.136 GB, free: 18.1 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/1.153, allocations: 1.281 kB / 1.136 GB, free: 18.1 MB / 0.8731 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.0001183/1.153, allocations: 205.1 kB / 1.136 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.309e-05/1.153, allocations: 129.8 kB / 1.136 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.058e-05/1.153, allocations: 120.8 kB / 1.136 GB, free: 17.67 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-05/1.154, allocations: 184.5 kB / 1.136 GB, free: 17.49 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-05/1.154, allocations: 177.3 kB / 1.137 GB, free: 17.31 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.204e-05/1.154, allocations: 182.2 kB / 1.137 GB, free: 17.13 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/1.154, allocations: 478.1 kB / 1.137 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.916e-05/1.154, allocations: 107.5 kB / 1.137 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.639e-05/1.154, allocations: 107 kB / 1.137 GB, free: 16.47 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.497e-05/1.154, allocations: 183.9 kB / 1.138 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.6e-05/1.154, allocations: 177.5 kB / 1.138 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.387e-05/1.154, allocations: 181 kB / 1.138 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.346e-05/1.154, allocations: 184 kB / 1.138 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/1.154, allocations: 325.1 kB / 1.138 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/1.155, allocations: 201 kB / 1.139 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-05/1.155, allocations: 186.6 kB / 1.139 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/1.155, allocations: 108.8 kB / 1.139 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/1.155, allocations: 180.7 kB / 1.139 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/1.155, allocations: 107 kB / 1.139 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002087/1.155, allocations: 205.1 kB / 1.139 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/1.155, allocations: 0 / 1.139 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002586/1.155, allocations: 22.34 kB / 1.139 GB, free: 14.55 MB / 0.8731 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.0001628/1.156, allocations: 176.3 kB / 1.14 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.046e-05/1.156, allocations: 17.84 kB / 1.14 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.156, allocations: 1.094 kB / 1.14 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.145e-06/1.156, allocations: 4.234 kB / 1.14 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007974/1.156, allocations: 0.5315 MB / 1.14 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005343/1.157, allocations: 364.9 kB / 1.14 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/1.157, allocations: 0.7206 MB / 1.141 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.575e-05/1.157, allocations: 25.5 kB / 1.141 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/1.157, allocations: 17.22 kB / 1.141 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of SimCode: time 3.4e-07/1.157, allocations: 0 / 1.141 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of Templates: time 0.005766/1.163, allocations: 2.404 MB / 1.144 GB, free: 12.8 MB / 0.8731 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 -s gbode -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/jenkins1/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