Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_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.001313/0.001313, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00145/0.00145, allocations: 192.7 kB / 16.14 MB, free: 6.711 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.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.343/2.343, allocations: 390.2 MB / 0.6642 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 71.88 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7196/0.7209, allocations: 140.4 MB / 0.9489 GB, free: 9.406 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07033/0.7913, allocations: 76.67 MB / 1.024 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02623/0.8176, allocations: 18.96 MB / 1.042 GB, free: 2.348 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003866/0.8215, allocations: 107.3 kB / 1.042 GB, free: 2.242 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00348/0.825, allocations: 1.026 MB / 1.043 GB, free: 1.211 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.009923/0.835, allocations: 3.378 MB / 1.047 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004895/0.8399, allocations: 1.896 MB / 1.049 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0102/0.8501, allocations: 8.892 MB / 1.057 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003056/0.8532, allocations: 1.738 MB / 1.059 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005021/0.8582, allocations: 1.929 MB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003373/0.8616, allocations: 1.773 MB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0005414/0.8622, allocations: 96 kB / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005138/0.8673, allocations: 1.465 MB / 1.064 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0009227/0.8682, allocations: 454 kB / 1.065 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002562/0.8708, allocations: 1.146 MB / 1.066 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.006048/0.8769, allocations: 3.642 MB / 1.069 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.8769, allocations: 0 / 1.069 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8769, allocations: 0 / 1.069 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001134/0.877, allocations: 0 / 1.069 GB, free: 6.715 MB / 0.8262 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.004872/0.8819, allocations: 2.711 MB / 1.072 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.882, allocations: 12.03 kB / 1.072 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006865/0.8827, allocations: 266 kB / 1.072 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002804/0.8855, allocations: 1.972 MB / 1.074 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.341e-05/0.8856, allocations: 106.7 kB / 1.074 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.8857, allocations: 148 kB / 1.074 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002493/0.8882, allocations: 1.513 MB / 1.076 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.8883, allocations: 7.938 kB / 1.076 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.8884, allocations: 59.91 kB / 1.076 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.52e-05/0.8885, allocations: 43.92 kB / 1.076 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/0.8906, allocations: 1.122 MB / 1.077 GB, free: 14.56 MB / 0.8419 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.007218/0.8978, allocations: 7.583 MB / 1.084 GB, free: 6.398 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008963/0.8987, allocations: 477.1 kB / 1.085 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006017/0.8993, allocations: 334.3 kB / 1.085 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000769/0.9001, allocations: 1.148 MB / 1.086 GB, free: 4.188 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.9002, allocations: 43.12 kB / 1.086 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=59): time 2.284e-06/0.9002, allocations: 0 / 1.086 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of matching and sorting (n=59): time 0.002061/0.9022, allocations: 0.9651 MB / 1.087 GB, free: 3.164 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.9023, allocations: 59.97 kB / 1.087 GB, free: 3.094 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00194/0.9042, allocations: 1.759 MB / 1.089 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.921e-05/0.9043, allocations: 41.69 kB / 1.089 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006744/0.905, allocations: 0.9278 MB / 1.09 GB, free: 320 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.9051, allocations: 224.9 kB / 1.09 GB, free: 92 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002808/0.9054, allocations: 226.7 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.9055, allocations: 353.9 kB / 1.091 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006463/0.9062, allocations: 334.4 kB / 1.091 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008749/0.9071, allocations: 0.686 MB / 1.092 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.9086, allocations: 1.012 MB / 1.093 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.9086, allocations: 4 kB / 1.093 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002208/0.9108, allocations: 1.214 MB / 1.094 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.9108, allocations: 8 kB / 1.094 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.9109, allocations: 12.06 kB / 1.094 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.9109, allocations: 16 kB / 1.094 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.9119, allocations: 291.6 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.017e-05/0.9119, allocations: 19.92 kB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.9134, allocations: 238.5 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.074e-05/0.9135, allocations: 51.94 kB / 1.094 GB, free: 11.34 MB / 0.8575 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.0007395/0.9142, allocations: 441.3 kB / 1.095 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002908/0.9145, allocations: 189.7 kB / 1.095 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/0.9163, allocations: 0.8645 MB / 1.096 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.9163, allocations: 12 kB / 1.096 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.9163, allocations: 0 / 1.096 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001438/0.9177, allocations: 0.7995 MB / 1.097 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003977/0.9217, allocations: 2.428 MB / 1.099 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.9218, allocations: 7.938 kB / 1.099 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008169/0.9226, allocations: 184 kB / 1.099 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.9226, allocations: 4 kB / 1.099 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.213e-05/0.9226, allocations: 16 kB / 1.099 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-06/0.9227, allocations: 7.984 kB / 1.099 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.9227, allocations: 4 kB / 1.099 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/0.9251, allocations: 1.335 MB / 1.101 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007574/0.9258, allocations: 366.4 kB / 1.101 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002222/0.9261, allocations: 19.98 kB / 1.101 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.9272, allocations: 115.7 kB / 1.101 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.9273, allocations: 52.44 kB / 1.101 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-05/0.9274, allocations: 39.97 kB / 1.101 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001656/0.929, allocations: 1.216 MB / 1.102 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.01e-07/0.929, allocations: 0 / 1.102 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001692/0.9307, allocations: 0.6395 MB / 1.103 GB, free: 2.383 MB / 0.8575 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.001133/0.9319, allocations: 0.5847 MB / 1.104 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001642/0.9335, allocations: 0.8117 MB / 1.104 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.9335, allocations: 4 kB / 1.104 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007488/0.9343, allocations: 356.4 kB / 1.105 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005408/0.9397, allocations: 1.198 MB / 1.106 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005581/0.9453, allocations: 3.739 MB / 1.11 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0013/0.9466, allocations: 1.405 MB / 1.111 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001597/0.9482, allocations: 387.6 kB / 1.111 GB, free: 9.852 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003553/0.9486, allocations: 147.4 kB / 1.111 GB, free: 9.707 MB / 0.8731 GB Notification: Performance of SimCode: time 7.02e-07/0.9486, allocations: 0 / 1.111 GB, free: 9.707 MB / 0.8731 GB Notification: Performance of Templates: time 0.06474/1.013, allocations: 39.86 MB / 1.15 GB, free: 2.359 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches