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.00161/0.00161, allocations: 110.5 kB / 16.41 MB, free: 6.508 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.001583/0.001583, allocations: 185.2 kB / 17.34 MB, free: 5.738 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.484/1.484, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.808/2.808, allocations: 437 MB / 0.7112 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 76.09 kB / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9193/0.9213, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.1052/1.027, allocations: 77.18 MB / 1.243 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.03219/1.059, allocations: 18.89 MB / 1.261 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004853/1.064, allocations: 107.4 kB / 1.261 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005325/1.069, allocations: 1.304 MB / 1.263 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01491/1.084, allocations: 3.818 MB / 1.266 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008127/1.092, allocations: 2.102 MB / 1.268 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01364/1.106, allocations: 6.69 MB / 1.275 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005118/1.111, allocations: 2.083 MB / 1.277 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008426/1.119, allocations: 2.374 MB / 1.279 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005159/1.125, allocations: 1.754 MB / 1.281 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001084/1.126, allocations: 200 kB / 1.281 GB, free: 14.93 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007937/1.134, allocations: 1.618 MB / 1.283 GB, free: 13.3 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001675/1.135, allocations: 0.5371 MB / 1.283 GB, free: 12.77 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003388/1.139, allocations: 1.252 MB / 1.284 GB, free: 11.51 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009051/1.148, allocations: 3.738 MB / 1.288 GB, free: 7.762 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/1.148, allocations: 7.938 kB / 1.288 GB, free: 7.754 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.633e-06/1.148, allocations: 4 kB / 1.288 GB, free: 7.75 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.922e-05/1.148, allocations: 0 / 1.288 GB, free: 7.75 MB / 1.014 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.005361/1.153, allocations: 2.782 MB / 1.291 GB, free: 4.898 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/1.153, allocations: 12.92 kB / 1.291 GB, free: 4.887 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007879/1.154, allocations: 275.3 kB / 1.291 GB, free: 4.617 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003709/1.158, allocations: 2.044 MB / 1.293 GB, free: 2.527 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/1.158, allocations: 106.7 kB / 1.293 GB, free: 2.422 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/1.158, allocations: 143.9 kB / 1.293 GB, free: 2.281 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002829/1.161, allocations: 1.523 MB / 1.295 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.204e-05/1.161, allocations: 3.938 kB / 1.295 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/1.161, allocations: 63.98 kB / 1.295 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.332e-05/1.161, allocations: 39.98 kB / 1.295 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002374/1.164, allocations: 1.122 MB / 1.296 GB, free: 15.45 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.009367/1.173, allocations: 7.62 MB / 1.303 GB, free: 7.254 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/1.174, allocations: 485.5 kB / 1.304 GB, free: 6.773 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006953/1.175, allocations: 334.8 kB / 1.304 GB, free: 6.445 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/1.176, allocations: 1.148 MB / 1.305 GB, free: 5.035 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/1.176, allocations: 43.12 kB / 1.305 GB, free: 4.984 MB / 1.029 GB Notification: Performance of pre-optimization done (n=59): time 2.545e-06/1.176, allocations: 0 / 1.305 GB, free: 4.984 MB / 1.029 GB Notification: Performance of matching and sorting (n=59): time 0.002395/1.178, allocations: 0.974 MB / 1.306 GB, free: 4.008 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/1.179, allocations: 55.97 kB / 1.306 GB, free: 3.941 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002482/1.181, allocations: 1.791 MB / 1.308 GB, free: 2.113 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.893e-05/1.181, allocations: 45.7 kB / 1.308 GB, free: 2.062 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000924/1.182, allocations: 0.9451 MB / 1.309 GB, free: 1.109 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/1.182, allocations: 226.1 kB / 1.309 GB, free: 0.8867 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003277/1.183, allocations: 230.8 kB / 1.31 GB, free: 0.6562 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001779/1.183, allocations: 345.9 kB / 1.31 GB, free: 320 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007776/1.184, allocations: 334.4 kB / 1.31 GB, free: 15.98 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/1.185, allocations: 0.6899 MB / 1.311 GB, free: 15.14 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/1.187, allocations: 1.008 MB / 1.312 GB, free: 13.99 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/1.187, allocations: 4 kB / 1.312 GB, free: 13.99 MB / 1.045 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002526/1.189, allocations: 1.222 MB / 1.313 GB, free: 12.76 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/1.189, allocations: 8 kB / 1.313 GB, free: 12.75 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/1.189, allocations: 16.81 kB / 1.313 GB, free: 12.73 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.219e-05/1.189, allocations: 16 kB / 1.313 GB, free: 12.72 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/1.19, allocations: 291.5 kB / 1.313 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.789e-05/1.19, allocations: 23.92 kB / 1.313 GB, free: 12.41 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/1.192, allocations: 170.9 kB / 1.314 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.921e-05/1.192, allocations: 48 kB / 1.314 GB, free: 12.2 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.0007444/1.192, allocations: 441.3 kB / 1.314 GB, free: 11.75 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003282/1.193, allocations: 202.7 kB / 1.314 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/1.195, allocations: 0.8649 MB / 1.315 GB, free: 10.68 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/1.195, allocations: 7.984 kB / 1.315 GB, free: 10.67 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/1.195, allocations: 4 kB / 1.315 GB, free: 10.66 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001493/1.196, allocations: 0.7957 MB / 1.316 GB, free: 9.816 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004576/1.201, allocations: 2.451 MB / 1.318 GB, free: 7.281 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/1.201, allocations: 7.938 kB / 1.318 GB, free: 7.273 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008139/1.202, allocations: 175.7 kB / 1.318 GB, free: 7.102 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/1.202, allocations: 4 kB / 1.318 GB, free: 7.098 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.83e-05/1.202, allocations: 20.14 kB / 1.318 GB, free: 7.078 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/1.202, allocations: 8 kB / 1.318 GB, free: 7.07 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.202, allocations: 7.938 kB / 1.318 GB, free: 7.062 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00281/1.205, allocations: 1.349 MB / 1.32 GB, free: 5.672 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006679/1.205, allocations: 375.5 kB / 1.32 GB, free: 5.285 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000225/1.206, allocations: 16 kB / 1.32 GB, free: 5.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009585/1.206, allocations: 67.86 kB / 1.32 GB, free: 5.203 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/1.207, allocations: 48.5 kB / 1.32 GB, free: 5.156 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.242e-05/1.207, allocations: 35.97 kB / 1.32 GB, free: 5.121 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001899/1.209, allocations: 1.239 MB / 1.321 GB, free: 3.863 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.7e-07/1.209, allocations: 0 / 1.321 GB, free: 3.863 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001961/1.211, allocations: 0.6626 MB / 1.322 GB, free: 3.199 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.001256/1.212, allocations: 0.6276 MB / 1.323 GB, free: 2.578 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001933/1.214, allocations: 0.8158 MB / 1.324 GB, free: 1.766 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.214, allocations: 0 / 1.324 GB, free: 1.766 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007773/1.215, allocations: 356.3 kB / 1.324 GB, free: 1.418 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005214/1.22, allocations: 1.203 MB / 1.325 GB, free: 240 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005473/1.225, allocations: 3.11 MB / 1.328 GB, free: 13.06 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001289/1.227, allocations: 1.405 MB / 1.329 GB, free: 11.62 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001425/1.228, allocations: 392.6 kB / 1.33 GB, free: 11.24 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003349/1.228, allocations: 151.4 kB / 1.33 GB, free: 11.09 MB / 1.061 GB Notification: Performance of SimCode: time 8.12e-07/1.228, allocations: 0 / 1.33 GB, free: 11.09 MB / 1.061 GB Notification: Performance of Templates: time 0.07607/1.304, allocations: 42.11 MB / 1.371 GB, free: 1.406 MB / 1.092 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches