Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.00922/0.00922, allocations: 101.6 kB / 15.73 MB, free: 6.031 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.002297/0.002297, allocations: 197.2 kB / 16.67 MB, free: 5.969 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.71/2.71, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 67.89 kB / 1.054 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.455/0.4562, allocations: 157.4 MB / 1.208 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.8346/1.291, allocations: 77.16 MB / 1.283 GB, free: 14.52 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0309/1.322, allocations: 18.89 MB / 1.302 GB, free: 4.984 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005725/1.328, allocations: 112.8 kB / 1.302 GB, free: 4.941 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005252/1.333, allocations: 1.245 MB / 1.303 GB, free: 4.176 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01469/1.348, allocations: 3.629 MB / 1.306 GB, free: 2.012 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.008099/1.356, allocations: 2.096 MB / 1.308 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0148/1.371, allocations: 6.666 MB / 1.315 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005255/1.376, allocations: 2.101 MB / 1.317 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008228/1.384, allocations: 2.37 MB / 1.319 GB, free: 11.53 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005342/1.39, allocations: 1.756 MB / 1.321 GB, free: 10.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001143/1.391, allocations: 200.2 kB / 1.321 GB, free: 10.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007469/1.398, allocations: 1.622 MB / 1.323 GB, free: 10.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001572/1.4, allocations: 0.5427 MB / 1.323 GB, free: 9.719 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004871/1.405, allocations: 1.241 MB / 1.325 GB, free: 8.965 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01443/1.419, allocations: 3.737 MB / 1.328 GB, free: 7.547 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.352e-05/1.419, allocations: 4.844 kB / 1.328 GB, free: 7.543 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.777e-06/1.419, allocations: 0 / 1.328 GB, free: 7.543 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002368/1.419, allocations: 0 / 1.328 GB, free: 7.543 MB / 1.029 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.01026/1.43, allocations: 2.711 MB / 1.331 GB, free: 5.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/1.43, allocations: 10.38 kB / 1.331 GB, free: 5.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/1.431, allocations: 270.8 kB / 1.331 GB, free: 5.691 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004742/1.436, allocations: 2.023 MB / 1.333 GB, free: 4.582 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/1.436, allocations: 104.9 kB / 1.333 GB, free: 4.535 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002369/1.436, allocations: 140.3 kB / 1.333 GB, free: 4.492 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003262/1.439, allocations: 1.519 MB / 1.335 GB, free: 3.781 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.751e-05/1.439, allocations: 1.125 kB / 1.335 GB, free: 3.781 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/1.439, allocations: 58.09 kB / 1.335 GB, free: 3.738 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.029e-05/1.44, allocations: 44.12 kB / 1.335 GB, free: 3.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002447/1.442, allocations: 1.124 MB / 1.336 GB, free: 3.34 MB / 1.029 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.01074/1.453, allocations: 7.601 MB / 1.343 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/1.454, allocations: 482.5 kB / 1.344 GB, free: 13.37 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006726/1.455, allocations: 332.5 kB / 1.344 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/1.456, allocations: 1.163 MB / 1.345 GB, free: 11.85 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/1.456, allocations: 39.94 kB / 1.345 GB, free: 11.81 MB / 1.045 GB Notification: Performance of pre-optimization done (n=59): time 2.574e-06/1.456, allocations: 0 / 1.345 GB, free: 11.81 MB / 1.045 GB Notification: Performance of matching and sorting (n=59): time 0.002807/1.458, allocations: 0.9606 MB / 1.346 GB, free: 11.34 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/1.459, allocations: 57.22 kB / 1.346 GB, free: 11.27 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002704/1.461, allocations: 1.784 MB / 1.348 GB, free: 10.29 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001284/1.461, allocations: 47.3 kB / 1.348 GB, free: 10.24 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008901/1.462, allocations: 0.9266 MB / 1.349 GB, free: 9.418 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002914/1.463, allocations: 222.3 kB / 1.349 GB, free: 9.227 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003347/1.463, allocations: 229.9 kB / 1.35 GB, free: 9.09 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001678/1.463, allocations: 351.8 kB / 1.35 GB, free: 8.75 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007381/1.464, allocations: 328.5 kB / 1.35 GB, free: 8.594 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/1.465, allocations: 0.6837 MB / 1.351 GB, free: 7.977 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/1.467, allocations: 1.02 MB / 1.352 GB, free: 7.195 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/1.467, allocations: 2.594 kB / 1.352 GB, free: 7.195 MB / 1.045 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002797/1.469, allocations: 1.218 MB / 1.353 GB, free: 6.586 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/1.469, allocations: 8.75 kB / 1.353 GB, free: 6.586 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/1.469, allocations: 10.44 kB / 1.353 GB, free: 6.586 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.438e-05/1.47, allocations: 15.91 kB / 1.353 GB, free: 6.586 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/1.471, allocations: 288.2 kB / 1.353 GB, free: 6.512 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.198e-05/1.471, allocations: 23.89 kB / 1.353 GB, free: 6.504 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/1.472, allocations: 160.5 kB / 1.354 GB, free: 6.398 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/1.472, allocations: 56.52 kB / 1.354 GB, free: 6.383 MB / 1.045 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.0009824/1.473, allocations: 443.8 kB / 1.354 GB, free: 6.062 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004133/1.474, allocations: 195.2 kB / 1.354 GB, free: 5.961 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/1.476, allocations: 0.8687 MB / 1.355 GB, free: 5.473 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/1.476, allocations: 5.656 kB / 1.355 GB, free: 5.473 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.476, allocations: 1.469 kB / 1.355 GB, free: 5.473 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001423/1.477, allocations: 0.7942 MB / 1.356 GB, free: 4.945 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005113/1.482, allocations: 2.443 MB / 1.358 GB, free: 3.23 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/1.482, allocations: 2.219 kB / 1.358 GB, free: 3.23 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008043/1.483, allocations: 186 kB / 1.358 GB, free: 3.172 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/1.483, allocations: 5.531 kB / 1.358 GB, free: 3.172 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-05/1.483, allocations: 22.98 kB / 1.358 GB, free: 3.156 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/1.483, allocations: 4.719 kB / 1.358 GB, free: 3.156 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.483, allocations: 2.438 kB / 1.358 GB, free: 3.156 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002786/1.486, allocations: 1.336 MB / 1.36 GB, free: 2.363 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009471/1.487, allocations: 376 kB / 1.36 GB, free: 2.047 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002445/1.487, allocations: 14.09 kB / 1.36 GB, free: 2.039 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/1.488, allocations: 60.52 kB / 1.36 GB, free: 2.008 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/1.488, allocations: 46.5 kB / 1.36 GB, free: 1.984 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.952e-05/1.489, allocations: 43.34 kB / 1.36 GB, free: 1.965 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001933/1.491, allocations: 1.239 MB / 1.361 GB, free: 1.277 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.7e-07/1.491, allocations: 0 / 1.361 GB, free: 1.277 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002465/1.493, allocations: 0.6468 MB / 1.362 GB, free: 1.125 MB / 1.045 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.001431/1.494, allocations: 0.6207 MB / 1.363 GB, free: 0.793 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002014/1.496, allocations: 0.8205 MB / 1.363 GB, free: 444 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.496, allocations: 0.625 kB / 1.363 GB, free: 444 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007102/1.497, allocations: 357.3 kB / 1.364 GB, free: 284 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005534/1.503, allocations: 1.197 MB / 1.365 GB, free: 15.64 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005399/1.508, allocations: 3.055 MB / 1.368 GB, free: 13.77 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009493/1.509, allocations: 1.405 MB / 1.369 GB, free: 12.73 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001628/1.511, allocations: 381.5 kB / 1.37 GB, free: 12.56 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/1.511, allocations: 148.2 kB / 1.37 GB, free: 12.54 MB / 1.061 GB Notification: Performance of SimCode: time 2.154e-06/1.511, allocations: 0 / 1.37 GB, free: 12.54 MB / 1.061 GB Notification: Performance of Templates: time 0.07346/1.585, allocations: 42.55 MB / 1.411 GB, free: 5.355 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches