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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001243/0.001243, allocations: 112.6 kB / 16.37 MB, free: 6 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.001192/0.001192, allocations: 196 kB / 17.31 MB, free: 5.613 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.556/2.556, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001355, allocations: 65.22 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3424, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.7901/1.133, allocations: 174 MB / 1.197 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01022/1.143, allocations: 9.508 MB / 1.206 GB, free: 480 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004586/1.143, allocations: 15.31 kB / 1.206 GB, free: 472 kB / 0.9044 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.0007793/1.144, allocations: 191 kB / 1.206 GB, free: 304 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002813/1.144, allocations: 86.64 kB / 1.206 GB, free: 228 kB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/1.145, allocations: 61.36 kB / 1.206 GB, free: 176 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004276/1.145, allocations: 323 kB / 1.207 GB, free: 15.98 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003404/1.145, allocations: 149.5 kB / 1.207 GB, free: 15.89 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003649/1.146, allocations: 162.5 kB / 1.207 GB, free: 15.8 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/1.146, allocations: 101.4 kB / 1.207 GB, free: 15.73 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/1.146, allocations: 16.03 kB / 1.207 GB, free: 15.73 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.047e-05/1.146, allocations: 15.62 kB / 1.207 GB, free: 15.73 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.997e-05/1.146, allocations: 40.81 kB / 1.207 GB, free: 15.7 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.278e-05/1.146, allocations: 97.67 kB / 1.207 GB, free: 15.64 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002332/1.146, allocations: 222.1 kB / 1.207 GB, free: 15.48 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.146, allocations: 0 / 1.207 GB, free: 15.48 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.563e-06/1.146, allocations: 0 / 1.207 GB, free: 15.48 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.334e-06/1.146, allocations: 0 / 1.207 GB, free: 15.48 MB / 0.92 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.0004709/1.147, allocations: 480 kB / 1.208 GB, free: 15.02 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/1.147, allocations: 7.688 kB / 1.208 GB, free: 15.02 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.845e-05/1.147, allocations: 30.12 kB / 1.208 GB, free: 15 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/1.147, allocations: 253.9 kB / 1.208 GB, free: 14.74 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/1.147, allocations: 12.62 kB / 1.208 GB, free: 14.73 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/1.147, allocations: 24.81 kB / 1.208 GB, free: 14.72 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/1.148, allocations: 231.7 kB / 1.208 GB, free: 14.53 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/1.148, allocations: 2.906 kB / 1.208 GB, free: 14.53 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/1.148, allocations: 11.5 kB / 1.208 GB, free: 14.52 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/1.148, allocations: 8.219 kB / 1.208 GB, free: 14.52 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/1.148, allocations: 88.66 kB / 1.208 GB, free: 14.47 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/1.149, allocations: 1.427 MB / 1.21 GB, free: 13.07 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/1.149, allocations: 173.2 kB / 1.21 GB, free: 12.89 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.489e-05/1.149, allocations: 94.86 kB / 1.21 GB, free: 12.79 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/1.149, allocations: 75.28 kB / 1.21 GB, free: 12.72 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/1.149, allocations: 109.8 kB / 1.21 GB, free: 12.6 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/1.149, allocations: 0 / 1.21 GB, free: 12.6 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 8.497e-05/1.149, allocations: 48.36 kB / 1.21 GB, free: 12.56 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/1.149, allocations: 130.7 kB / 1.21 GB, free: 12.42 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/1.15, allocations: 290 kB / 1.211 GB, free: 12.22 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/1.15, allocations: 25.7 kB / 1.211 GB, free: 12.19 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.499e-05/1.15, allocations: 144.5 kB / 1.211 GB, free: 12.06 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/1.15, allocations: 0 / 1.211 GB, free: 12.06 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/1.15, allocations: 16.38 kB / 1.211 GB, free: 12.04 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001108/1.15, allocations: 336.1 kB / 1.211 GB, free: 11.71 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.394e-05/1.15, allocations: 6.812 kB / 1.211 GB, free: 11.7 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.568e-05/1.15, allocations: 30.03 kB / 1.211 GB, free: 11.66 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.671e-05/1.15, allocations: 31.44 kB / 1.211 GB, free: 11.63 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.15, allocations: 0 / 1.211 GB, free: 11.63 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001323/1.15, allocations: 80.5 kB / 1.211 GB, free: 11.57 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/1.15, allocations: 7.688 kB / 1.211 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/1.15, allocations: 0 / 1.211 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/1.15, allocations: 2.969 kB / 1.211 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.809e-05/1.15, allocations: 8.656 kB / 1.211 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/1.15, allocations: 3.984 kB / 1.211 GB, free: 11.56 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.672e-05/1.15, allocations: 20.94 kB / 1.211 GB, free: 11.55 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/1.15, allocations: 2.656 kB / 1.211 GB, free: 11.55 MB / 0.92 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.0001189/1.151, allocations: 212.8 kB / 1.212 GB, free: 11.34 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.79e-05/1.151, allocations: 123.1 kB / 1.212 GB, free: 11.22 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.725e-05/1.151, allocations: 122.2 kB / 1.212 GB, free: 11.1 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.759e-05/1.151, allocations: 180.2 kB / 1.212 GB, free: 10.92 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.969e-05/1.151, allocations: 184.2 kB / 1.212 GB, free: 10.73 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-05/1.151, allocations: 186.5 kB / 1.212 GB, free: 10.54 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/1.151, allocations: 471.4 kB / 1.213 GB, free: 10.05 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.651e-05/1.151, allocations: 105 kB / 1.213 GB, free: 9.941 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.8e-05/1.151, allocations: 108.9 kB / 1.213 GB, free: 9.828 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.052e-05/1.151, allocations: 179.1 kB / 1.213 GB, free: 9.648 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.407e-05/1.151, allocations: 184.2 kB / 1.213 GB, free: 9.461 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.419e-05/1.151, allocations: 180.3 kB / 1.214 GB, free: 9.277 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.749e-05/1.152, allocations: 190.8 kB / 1.214 GB, free: 9.086 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/1.152, allocations: 321.3 kB / 1.214 GB, free: 8.762 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.57e-05/1.152, allocations: 206.2 kB / 1.214 GB, free: 8.539 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.948e-05/1.152, allocations: 184.3 kB / 1.214 GB, free: 8.352 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.668e-05/1.152, allocations: 105 kB / 1.215 GB, free: 8.242 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/1.152, allocations: 182.7 kB / 1.215 GB, free: 8.059 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/1.152, allocations: 101 kB / 1.215 GB, free: 7.953 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001772/1.152, allocations: 210 kB / 1.215 GB, free: 7.816 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/1.152, allocations: 0 / 1.215 GB, free: 7.816 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002336/1.152, allocations: 21.06 kB / 1.215 GB, free: 7.816 MB / 0.92 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.0001558/1.153, allocations: 178.3 kB / 1.215 GB, free: 7.648 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.266e-05/1.153, allocations: 20.16 kB / 1.215 GB, free: 7.637 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.153, allocations: 0 / 1.215 GB, free: 7.637 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/1.153, allocations: 0 / 1.215 GB, free: 7.637 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007088/1.153, allocations: 0.5316 MB / 1.216 GB, free: 7.148 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004779/1.154, allocations: 367 kB / 1.216 GB, free: 6.855 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/1.154, allocations: 0.722 MB / 1.217 GB, free: 6.137 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 6.71e-05/1.154, allocations: 22.55 kB / 1.217 GB, free: 6.125 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/1.154, allocations: 15.31 kB / 1.217 GB, free: 6.117 MB / 0.92 GB Notification: Performance of SimCode: time 4.61e-07/1.154, allocations: 2.531 kB / 1.217 GB, free: 6.117 MB / 0.92 GB Notification: Performance of Templates: time 0.005057/1.159, allocations: 2.405 MB / 1.219 GB, free: 4.93 MB / 0.92 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 -s cvode -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/jenkins1/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