Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008834/0.008841, allocations: 99.44 kB / 15.73 MB, free: 6.035 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.001773/0.001773, allocations: 193.4 kB / 16.67 MB, free: 5.961 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 / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.632/2.632, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 63.89 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3442, allocations: 151.6 MB / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07927/0.4235, allocations: 77.17 MB / 1.242 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.8196/1.243, allocations: 18.87 MB / 1.26 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004297/1.247, allocations: 113.7 kB / 1.261 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004149/1.252, allocations: 1.249 MB / 1.262 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01308/1.265, allocations: 3.632 MB / 1.265 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007048/1.272, allocations: 2.093 MB / 1.267 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01311/1.285, allocations: 6.672 MB / 1.274 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004332/1.289, allocations: 2.091 MB / 1.276 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00752/1.297, allocations: 2.318 MB / 1.278 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004333/1.301, allocations: 1.757 MB / 1.28 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006282/1.302, allocations: 199.4 kB / 1.28 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005546/1.307, allocations: 1.617 MB / 1.282 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000699/1.308, allocations: 0.5391 MB / 1.282 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002112/1.31, allocations: 1.245 MB / 1.283 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008874/1.319, allocations: 3.748 MB / 1.287 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/1.319, allocations: 0.5625 kB / 1.287 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.294e-06/1.319, allocations: 0 / 1.287 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.591e-05/1.319, allocations: 5.062 kB / 1.287 GB, free: 2.434 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.006557/1.326, allocations: 2.785 MB / 1.29 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/1.326, allocations: 10.53 kB / 1.29 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009853/1.327, allocations: 276.1 kB / 1.29 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003623/1.331, allocations: 2.035 MB / 1.292 GB, free: 400 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.8e-05/1.331, allocations: 112.9 kB / 1.292 GB, free: 392 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002134/1.331, allocations: 143.1 kB / 1.292 GB, free: 388 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003036/1.334, allocations: 1.53 MB / 1.294 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.915e-05/1.334, allocations: 5.594 kB / 1.294 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/1.334, allocations: 58.5 kB / 1.294 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-05/1.334, allocations: 41.41 kB / 1.294 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002389/1.337, allocations: 1.123 MB / 1.295 GB, free: 15.29 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01088/1.347, allocations: 7.613 MB / 1.302 GB, free: 9.562 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/1.349, allocations: 488.9 kB / 1.303 GB, free: 9.387 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006884/1.349, allocations: 331.6 kB / 1.303 GB, free: 9.281 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009603/1.35, allocations: 1.158 MB / 1.304 GB, free: 7.945 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/1.35, allocations: 39.67 kB / 1.304 GB, free: 7.902 MB / 1.014 GB Notification: Performance of pre-optimization done (n=59): time 2.294e-06/1.35, allocations: 0 / 1.304 GB, free: 7.902 MB / 1.014 GB Notification: Performance of matching and sorting (n=59): time 0.002616/1.353, allocations: 0.973 MB / 1.305 GB, free: 7.539 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/1.353, allocations: 58.67 kB / 1.305 GB, free: 7.477 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002606/1.356, allocations: 1.79 MB / 1.307 GB, free: 6.754 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.826e-05/1.356, allocations: 44.45 kB / 1.307 GB, free: 6.711 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008657/1.357, allocations: 0.9476 MB / 1.308 GB, free: 5.965 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/1.357, allocations: 221.8 kB / 1.308 GB, free: 5.797 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000351/1.357, allocations: 226 kB / 1.308 GB, free: 5.684 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001599/1.357, allocations: 345.4 kB / 1.309 GB, free: 5.363 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007553/1.358, allocations: 344.7 kB / 1.309 GB, free: 5.246 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/1.359, allocations: 0.6824 MB / 1.31 GB, free: 4.707 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/1.361, allocations: 1.017 MB / 1.311 GB, free: 4.016 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/1.361, allocations: 2.562 kB / 1.311 GB, free: 4.016 MB / 1.014 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002412/1.363, allocations: 1.227 MB / 1.312 GB, free: 3.531 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/1.363, allocations: 10.16 kB / 1.312 GB, free: 3.531 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/1.363, allocations: 10.31 kB / 1.312 GB, free: 3.531 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.323e-05/1.363, allocations: 20.25 kB / 1.312 GB, free: 3.527 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/1.364, allocations: 289.3 kB / 1.312 GB, free: 3.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.699e-05/1.364, allocations: 19.22 kB / 1.312 GB, free: 3.496 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/1.366, allocations: 170.4 kB / 1.313 GB, free: 3.398 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.32e-05/1.366, allocations: 59.33 kB / 1.313 GB, free: 3.383 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0008773/1.367, allocations: 443.1 kB / 1.313 GB, free: 3.082 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003818/1.367, allocations: 200.8 kB / 1.313 GB, free: 2.977 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/1.369, allocations: 0.8614 MB / 1.314 GB, free: 2.645 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/1.369, allocations: 7.438 kB / 1.314 GB, free: 2.645 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.369, allocations: 0 / 1.314 GB, free: 2.645 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001379/1.371, allocations: 0.7983 MB / 1.315 GB, free: 2.207 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004939/1.376, allocations: 2.45 MB / 1.317 GB, free: 1.043 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/1.376, allocations: 2.156 kB / 1.317 GB, free: 1.043 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007909/1.376, allocations: 178.6 kB / 1.317 GB, free: 1.031 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.547e-05/1.376, allocations: 8.844 kB / 1.317 GB, free: 1.027 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.766e-05/1.377, allocations: 21.42 kB / 1.317 GB, free: 1.016 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.445e-06/1.377, allocations: 9.219 kB / 1.317 GB, free: 1.012 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.377, allocations: 1.781 kB / 1.317 GB, free: 1.012 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002678/1.379, allocations: 1.343 MB / 1.319 GB, free: 368 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008994/1.38, allocations: 375.9 kB / 1.319 GB, free: 88 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005689/1.381, allocations: 17.22 kB / 1.319 GB, free: 76 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/1.382, allocations: 66.38 kB / 1.319 GB, free: 60 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/1.382, allocations: 56.92 kB / 1.319 GB, free: 44 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/1.382, allocations: 38.94 kB / 1.319 GB, free: 36 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002482/1.385, allocations: 1.235 MB / 1.32 GB, free: 15.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.385, allocations: 1.156 kB / 1.32 GB, free: 15.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002592/1.387, allocations: 0.6569 MB / 1.321 GB, free: 15.39 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * 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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.001681/1.389, allocations: 0.6291 MB / 1.322 GB, free: 15.14 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001977/1.391, allocations: 0.8155 MB / 1.323 GB, free: 14.9 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/1.391, allocations: 5.031 kB / 1.323 GB, free: 14.9 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007888/1.392, allocations: 351.5 kB / 1.323 GB, free: 14.79 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006463/1.398, allocations: 1.202 MB / 1.324 GB, free: 14.42 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006481/1.405, allocations: 3.113 MB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/1.406, allocations: 1.404 MB / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002118/1.408, allocations: 378.6 kB / 1.329 GB, free: 11.83 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005837/1.409, allocations: 152.5 kB / 1.329 GB, free: 11.81 MB / 1.029 GB Notification: Performance of SimCode: time 8.62e-07/1.409, allocations: 5.438 kB / 1.329 GB, free: 11.81 MB / 1.029 GB Notification: Performance of Templates: time 0.0733/1.482, allocations: 41.92 MB / 1.37 GB, free: 14.42 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches