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.001554/0.001554, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001882/0.001882, allocations: 194.7 kB / 16.26 MB, free: 6.625 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.366/1.366, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.353/2.353, allocations: 390.2 MB / 0.6643 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001487, allocations: 63.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7958/0.7973, allocations: 140.3 MB / 0.9491 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08106/0.8784, allocations: 76.51 MB / 1.024 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.03115/0.9096, allocations: 18.76 MB / 1.042 GB, free: 2.5 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005489/0.9151, allocations: 99.38 kB / 1.042 GB, free: 2.402 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004732/0.9199, allocations: 1.08 MB / 1.043 GB, free: 1.316 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.013/0.933, allocations: 3.397 MB / 1.047 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00697/0.9399, allocations: 1.93 MB / 1.048 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01184/0.9518, allocations: 6.71 MB / 1.055 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004915/0.9568, allocations: 2.069 MB / 1.057 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007909/0.9647, allocations: 2.336 MB / 1.059 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004249/0.969, allocations: 1.816 MB / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001039/0.9701, allocations: 200 kB / 1.061 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005096/0.9752, allocations: 1.641 MB / 1.063 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001248/0.9764, allocations: 0.541 MB / 1.063 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.003354/0.9798, allocations: 1.248 MB / 1.065 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.009383/0.9892, allocations: 3.724 MB / 1.068 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.9893, allocations: 0 / 1.068 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.003e-06/0.9893, allocations: 0 / 1.068 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001314/0.9894, allocations: 0 / 1.068 GB, free: 7.621 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.007437/0.9969, allocations: 2.707 MB / 1.071 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.9969, allocations: 15.97 kB / 1.071 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.9979, allocations: 266 kB / 1.071 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003691/1.002, allocations: 1.974 MB / 1.073 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/1.002, allocations: 110.7 kB / 1.073 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/1.002, allocations: 144 kB / 1.073 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002846/1.005, allocations: 1.516 MB / 1.075 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.733e-05/1.005, allocations: 7.938 kB / 1.075 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/1.005, allocations: 56 kB / 1.075 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.675e-05/1.005, allocations: 40 kB / 1.075 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002186/1.007, allocations: 1.122 MB / 1.076 GB, free: 15.47 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.009133/1.016, allocations: 7.579 MB / 1.083 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000971/1.017, allocations: 485.1 kB / 1.084 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006133/1.018, allocations: 330.3 kB / 1.084 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008698/1.019, allocations: 1.152 MB / 1.085 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/1.019, allocations: 39.12 kB / 1.085 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=59): time 2.905e-06/1.019, allocations: 0 / 1.085 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of matching and sorting (n=59): time 0.002392/1.021, allocations: 0.969 MB / 1.086 GB, free: 4.074 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/1.021, allocations: 55.97 kB / 1.086 GB, free: 4.008 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002375/1.024, allocations: 1.755 MB / 1.088 GB, free: 2.215 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001097/1.024, allocations: 41.7 kB / 1.088 GB, free: 2.168 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008469/1.025, allocations: 0.9394 MB / 1.089 GB, free: 1.219 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/1.025, allocations: 220.9 kB / 1.089 GB, free: 1 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002961/1.025, allocations: 226.7 kB / 1.089 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001501/1.026, allocations: 353.9 kB / 1.09 GB, free: 428 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006736/1.026, allocations: 330.4 kB / 1.09 GB, free: 100 kB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009974/1.027, allocations: 0.6861 MB / 1.091 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/1.029, allocations: 1.012 MB / 1.092 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/1.029, allocations: 7.938 kB / 1.092 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0024/1.031, allocations: 1.218 MB / 1.093 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/1.031, allocations: 9.875 kB / 1.093 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/1.031, allocations: 8 kB / 1.093 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/1.031, allocations: 16 kB / 1.093 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/1.032, allocations: 296 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.298e-05/1.032, allocations: 15.94 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/1.034, allocations: 234.5 kB / 1.094 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.209e-05/1.034, allocations: 51.98 kB / 1.094 GB, free: 12.25 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.0008069/1.035, allocations: 449.3 kB / 1.094 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/1.035, allocations: 189.7 kB / 1.094 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001768/1.037, allocations: 0.8645 MB / 1.095 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/1.037, allocations: 8 kB / 1.095 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.037, allocations: 0 / 1.095 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001284/1.038, allocations: 0.7956 MB / 1.096 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004166/1.043, allocations: 2.435 MB / 1.098 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.014e-06/1.043, allocations: 7.938 kB / 1.098 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007651/1.043, allocations: 183.7 kB / 1.098 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-06/1.043, allocations: 4 kB / 1.098 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-05/1.043, allocations: 20.19 kB / 1.098 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.004e-05/1.043, allocations: 4 kB / 1.098 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.043, allocations: 0 / 1.098 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/1.046, allocations: 1.343 MB / 1.1 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006331/1.046, allocations: 366.4 kB / 1.1 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/1.047, allocations: 16 kB / 1.1 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/1.048, allocations: 111.7 kB / 1.1 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/1.048, allocations: 52.44 kB / 1.1 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.568e-05/1.048, allocations: 39.97 kB / 1.1 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001662/1.05, allocations: 1.216 MB / 1.101 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/1.05, allocations: 0 / 1.101 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001795/1.051, allocations: 0.6434 MB / 1.102 GB, free: 3.293 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.001239/1.053, allocations: 0.5889 MB / 1.103 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001997/1.055, allocations: 0.8868 MB / 1.104 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.055, allocations: 4.062 kB / 1.104 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007042/1.055, allocations: 350.9 kB / 1.104 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00485/1.06, allocations: 1.204 MB / 1.105 GB, free: 324 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005741/1.066, allocations: 3.742 MB / 1.109 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/1.067, allocations: 1.401 MB / 1.11 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001869/1.069, allocations: 391.1 kB / 1.11 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003344/1.069, allocations: 151.4 kB / 1.111 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of SimCode: time 7.81e-07/1.069, allocations: 4 kB / 1.111 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of Templates: time 0.07016/1.139, allocations: 40.76 MB / 1.15 GB, free: 2.309 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