Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.009944/0.009944, allocations: 97.66 kB / 15.73 MB, free: 6.047 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.001953/0.001953, allocations: 202 kB / 16.68 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.86/2.86, allocations: 469.8 MB / 0.7425 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 67.84 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3456, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.9125/1.258, allocations: 77.3 MB / 1.296 GB, free: 4.41 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03351/1.292, allocations: 18.9 MB / 1.315 GB, free: 6.836 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006255/1.298, allocations: 113.5 kB / 1.315 GB, free: 6.793 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004926/1.303, allocations: 1.294 MB / 1.316 GB, free: 6.027 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01449/1.317, allocations: 3.823 MB / 1.32 GB, free: 3.766 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007485/1.325, allocations: 2.105 MB / 1.322 GB, free: 2.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01427/1.339, allocations: 6.672 MB / 1.328 GB, free: 15.37 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004694/1.344, allocations: 1.708 MB / 1.33 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007538/1.351, allocations: 2.377 MB / 1.332 GB, free: 13.39 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004733/1.356, allocations: 1.757 MB / 1.334 GB, free: 12.57 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.00101/1.357, allocations: 198.5 kB / 1.334 GB, free: 12.57 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006367/1.363, allocations: 1.624 MB / 1.336 GB, free: 11.91 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001453/1.365, allocations: 0.5712 MB / 1.336 GB, free: 11.55 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.003988/1.369, allocations: 1.241 MB / 1.337 GB, free: 10.8 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01027/1.379, allocations: 3.748 MB / 1.341 GB, free: 9.367 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.379, allocations: 1.062 kB / 1.341 GB, free: 9.367 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.023e-06/1.379, allocations: 0 / 1.341 GB, free: 9.367 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001072/1.379, allocations: 0 / 1.341 GB, free: 9.367 MB / 1.045 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.007902/1.387, allocations: 2.792 MB / 1.344 GB, free: 7.559 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/1.387, allocations: 11.69 kB / 1.344 GB, free: 7.559 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/1.389, allocations: 275 kB / 1.344 GB, free: 7.426 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004994/1.394, allocations: 2.038 MB / 1.346 GB, free: 6.301 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/1.394, allocations: 105.4 kB / 1.346 GB, free: 6.254 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004793/1.394, allocations: 145.4 kB / 1.346 GB, free: 6.207 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003877/1.398, allocations: 1.518 MB / 1.348 GB, free: 5.496 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.662e-05/1.398, allocations: 1.469 kB / 1.348 GB, free: 5.496 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001991/1.398, allocations: 61.72 kB / 1.348 GB, free: 5.449 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.206e-05/1.398, allocations: 42.66 kB / 1.348 GB, free: 5.445 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002767/1.401, allocations: 1.125 MB / 1.349 GB, free: 4.887 MB / 1.045 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.01173/1.413, allocations: 7.624 MB / 1.357 GB, free: 14.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/1.414, allocations: 449 kB / 1.357 GB, free: 13.79 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006588/1.415, allocations: 313.1 kB / 1.357 GB, free: 13.64 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009417/1.416, allocations: 1.156 MB / 1.358 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/1.416, allocations: 39.47 kB / 1.358 GB, free: 12.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=59): time 3.136e-06/1.416, allocations: 4 kB / 1.358 GB, free: 12.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=59): time 0.002882/1.419, allocations: 0.9682 MB / 1.359 GB, free: 11.77 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/1.419, allocations: 58.09 kB / 1.359 GB, free: 11.7 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003389/1.422, allocations: 1.792 MB / 1.361 GB, free: 10.71 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002045/1.422, allocations: 42.98 kB / 1.361 GB, free: 10.66 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001025/1.423, allocations: 0.9441 MB / 1.362 GB, free: 9.828 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003434/1.424, allocations: 228.1 kB / 1.362 GB, free: 9.633 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004218/1.424, allocations: 225.5 kB / 1.363 GB, free: 9.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001732/1.424, allocations: 359.8 kB / 1.363 GB, free: 9.152 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008286/1.425, allocations: 328.2 kB / 1.363 GB, free: 8.996 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/1.426, allocations: 0.6874 MB / 1.364 GB, free: 8.379 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/1.428, allocations: 1.008 MB / 1.365 GB, free: 7.609 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/1.428, allocations: 2.906 kB / 1.365 GB, free: 7.609 MB / 1.061 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002993/1.431, allocations: 1.231 MB / 1.366 GB, free: 6.988 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/1.431, allocations: 13.83 kB / 1.366 GB, free: 6.984 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/1.431, allocations: 9.75 kB / 1.366 GB, free: 6.984 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.658e-05/1.431, allocations: 16.31 kB / 1.366 GB, free: 6.984 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/1.432, allocations: 283.2 kB / 1.366 GB, free: 6.914 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.686e-05/1.432, allocations: 24.44 kB / 1.366 GB, free: 6.906 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/1.434, allocations: 168.9 kB / 1.367 GB, free: 6.793 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/1.434, allocations: 52.64 kB / 1.367 GB, free: 6.781 MB / 1.061 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.001054/1.435, allocations: 442.7 kB / 1.367 GB, free: 6.461 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006598/1.436, allocations: 205 kB / 1.367 GB, free: 6.352 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001976/1.438, allocations: 0.8579 MB / 1.368 GB, free: 5.871 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/1.438, allocations: 6.469 kB / 1.368 GB, free: 5.871 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/1.438, allocations: 0 / 1.368 GB, free: 5.871 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001402/1.439, allocations: 0.8001 MB / 1.369 GB, free: 5.34 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004921/1.444, allocations: 2.454 MB / 1.371 GB, free: 3.605 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.444, allocations: 1.375 kB / 1.371 GB, free: 3.605 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00082/1.445, allocations: 182.7 kB / 1.371 GB, free: 3.551 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/1.445, allocations: 4.531 kB / 1.371 GB, free: 3.551 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.192e-05/1.445, allocations: 23.56 kB / 1.371 GB, free: 3.535 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/1.445, allocations: 8.672 kB / 1.371 GB, free: 3.531 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.445, allocations: 2.594 kB / 1.371 GB, free: 3.531 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002841/1.448, allocations: 1.342 MB / 1.373 GB, free: 2.73 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009755/1.449, allocations: 377.3 kB / 1.373 GB, free: 2.414 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002644/1.449, allocations: 17.48 kB / 1.373 GB, free: 2.402 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009928/1.45, allocations: 65.61 kB / 1.373 GB, free: 2.367 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/1.45, allocations: 50.44 kB / 1.373 GB, free: 2.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.476e-05/1.45, allocations: 39.34 kB / 1.373 GB, free: 2.324 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002029/1.452, allocations: 1.235 MB / 1.375 GB, free: 1.641 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.452, allocations: 4 kB / 1.375 GB, free: 1.637 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002481/1.455, allocations: 0.6666 MB / 1.375 GB, free: 1.465 MB / 1.061 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.001356/1.456, allocations: 0.6135 MB / 1.376 GB, free: 1.141 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001789/1.458, allocations: 0.7803 MB / 1.377 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.458, allocations: 0 / 1.377 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006809/1.459, allocations: 334.9 kB / 1.377 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006034/1.465, allocations: 1.202 MB / 1.378 GB, free: 12 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005617/1.47, allocations: 3.114 MB / 1.381 GB, free: 14.07 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009716/1.471, allocations: 1.408 MB / 1.382 GB, free: 13.04 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001823/1.473, allocations: 384.1 kB / 1.383 GB, free: 12.86 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003437/1.473, allocations: 148.6 kB / 1.383 GB, free: 12.84 MB / 1.076 GB Notification: Performance of SimCode: time 1.102e-06/1.473, allocations: 0 / 1.383 GB, free: 12.84 MB / 1.076 GB Notification: Performance of Templates: time 0.08142/1.555, allocations: 42.13 MB / 1.424 GB, free: 4.035 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches