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.00697/0.00697, allocations: 101.3 kB / 15.73 MB, free: 6.035 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.001176/0.001176, allocations: 186.1 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.736/2.736, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 64.12 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.306, allocations: 157.4 MB / 1.208 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.8173/1.123, allocations: 77.16 MB / 1.283 GB, free: 14.59 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02821/1.152, allocations: 18.89 MB / 1.302 GB, free: 5.059 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005021/1.157, allocations: 109.9 kB / 1.302 GB, free: 5.02 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003623/1.16, allocations: 1.29 MB / 1.303 GB, free: 4.227 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01219/1.173, allocations: 3.808 MB / 1.307 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006372/1.179, allocations: 2.098 MB / 1.309 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01127/1.19, allocations: 6.685 MB / 1.315 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004352/1.195, allocations: 2.098 MB / 1.317 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006644/1.201, allocations: 2.382 MB / 1.32 GB, free: 11.47 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004332/1.206, allocations: 1.756 MB / 1.321 GB, free: 10.65 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0008712/1.206, allocations: 200.5 kB / 1.321 GB, free: 10.65 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005893/1.212, allocations: 1.62 MB / 1.323 GB, free: 9.996 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001339/1.214, allocations: 0.5388 MB / 1.324 GB, free: 9.664 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00368/1.217, allocations: 1.248 MB / 1.325 GB, free: 8.902 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.009352/1.227, allocations: 3.729 MB / 1.328 GB, free: 7.492 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.227, allocations: 0 / 1.328 GB, free: 7.492 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.374e-06/1.227, allocations: 4 kB / 1.328 GB, free: 7.488 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001461/1.227, allocations: 1.219 kB / 1.328 GB, free: 7.488 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.01145/1.238, allocations: 2.714 MB / 1.331 GB, free: 5.762 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/1.239, allocations: 10.06 kB / 1.331 GB, free: 5.762 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001776/1.24, allocations: 266.3 kB / 1.331 GB, free: 5.637 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005324/1.246, allocations: 2.029 MB / 1.333 GB, free: 4.523 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.78e-05/1.246, allocations: 104.4 kB / 1.333 GB, free: 4.477 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002161/1.246, allocations: 140.8 kB / 1.334 GB, free: 4.434 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002959/1.249, allocations: 1.521 MB / 1.335 GB, free: 3.719 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/1.249, allocations: 1.375 kB / 1.335 GB, free: 3.719 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/1.249, allocations: 61.02 kB / 1.335 GB, free: 3.676 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.212e-05/1.249, allocations: 40.72 kB / 1.335 GB, free: 3.672 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002313/1.252, allocations: 1.122 MB / 1.336 GB, free: 3.281 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.009522/1.261, allocations: 7.601 MB / 1.344 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/1.262, allocations: 485.6 kB / 1.344 GB, free: 13.28 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006425/1.263, allocations: 335.8 kB / 1.344 GB, free: 13.12 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009207/1.264, allocations: 1.156 MB / 1.346 GB, free: 11.76 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/1.264, allocations: 46.59 kB / 1.346 GB, free: 11.71 MB / 1.045 GB Notification: Performance of pre-optimization done (n=59): time 2.415e-06/1.264, allocations: 1.188 kB / 1.346 GB, free: 11.71 MB / 1.045 GB Notification: Performance of matching and sorting (n=59): time 0.002444/1.266, allocations: 0.9594 MB / 1.347 GB, free: 11.24 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/1.266, allocations: 58.78 kB / 1.347 GB, free: 11.18 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002427/1.269, allocations: 1.779 MB / 1.348 GB, free: 10.19 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.938e-05/1.269, allocations: 43.89 kB / 1.348 GB, free: 10.15 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008052/1.27, allocations: 0.9339 MB / 1.349 GB, free: 9.32 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/1.27, allocations: 221.9 kB / 1.35 GB, free: 9.129 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003138/1.27, allocations: 226 kB / 1.35 GB, free: 8.996 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.27, allocations: 347.7 kB / 1.35 GB, free: 8.66 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006964/1.271, allocations: 333.2 kB / 1.35 GB, free: 8.5 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/1.272, allocations: 0.6862 MB / 1.351 GB, free: 7.879 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001711/1.274, allocations: 1.017 MB / 1.352 GB, free: 7.102 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/1.274, allocations: 2.656 kB / 1.352 GB, free: 7.102 MB / 1.045 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002618/1.276, allocations: 1.217 MB / 1.353 GB, free: 6.492 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/1.276, allocations: 8.625 kB / 1.353 GB, free: 6.492 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/1.277, allocations: 11.53 kB / 1.353 GB, free: 6.492 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.077e-05/1.277, allocations: 15.69 kB / 1.353 GB, free: 6.492 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/1.278, allocations: 291.9 kB / 1.354 GB, free: 6.414 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.769e-05/1.278, allocations: 19.88 kB / 1.354 GB, free: 6.41 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/1.279, allocations: 169.6 kB / 1.354 GB, free: 6.297 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.882e-05/1.279, allocations: 51.23 kB / 1.354 GB, free: 6.285 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.0009309/1.28, allocations: 435.6 kB / 1.354 GB, free: 5.973 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003559/1.281, allocations: 196.7 kB / 1.354 GB, free: 5.871 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/1.283, allocations: 0.8602 MB / 1.355 GB, free: 5.387 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.171e-05/1.283, allocations: 11.19 kB / 1.355 GB, free: 5.383 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/1.283, allocations: 0 / 1.355 GB, free: 5.383 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001437/1.284, allocations: 0.795 MB / 1.356 GB, free: 4.855 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004603/1.289, allocations: 2.447 MB / 1.358 GB, free: 3.137 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/1.289, allocations: 2.5 kB / 1.358 GB, free: 3.137 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007782/1.289, allocations: 182 kB / 1.359 GB, free: 3.082 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.938e-06/1.289, allocations: 9.5 kB / 1.359 GB, free: 3.078 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.472e-05/1.29, allocations: 14.47 kB / 1.359 GB, free: 3.07 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/1.29, allocations: 8.5 kB / 1.359 GB, free: 3.066 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.29, allocations: 3.5 kB / 1.359 GB, free: 3.066 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/1.292, allocations: 1.336 MB / 1.36 GB, free: 2.273 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007736/1.293, allocations: 367.3 kB / 1.36 GB, free: 1.965 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002328/1.293, allocations: 13.88 kB / 1.36 GB, free: 1.957 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009709/1.294, allocations: 77.78 kB / 1.36 GB, free: 1.91 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/1.294, allocations: 46.41 kB / 1.36 GB, free: 1.887 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.193e-05/1.294, allocations: 35.22 kB / 1.36 GB, free: 1.875 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001824/1.296, allocations: 1.239 MB / 1.362 GB, free: 1.188 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.096e-06/1.296, allocations: 3.938 kB / 1.362 GB, free: 1.184 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002158/1.298, allocations: 0.6513 MB / 1.362 GB, free: 1.027 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.001315/1.3, allocations: 0.6124 MB / 1.363 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00179/1.302, allocations: 0.8213 MB / 1.364 GB, free: 352 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/1.302, allocations: 0 / 1.364 GB, free: 352 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006875/1.302, allocations: 353.2 kB / 1.364 GB, free: 196 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005059/1.307, allocations: 1.189 MB / 1.365 GB, free: 15.56 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004762/1.312, allocations: 3.065 MB / 1.368 GB, free: 13.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009093/1.313, allocations: 1.402 MB / 1.37 GB, free: 12.64 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001314/1.314, allocations: 376.4 kB / 1.37 GB, free: 12.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003005/1.315, allocations: 155.8 kB / 1.37 GB, free: 12.45 MB / 1.061 GB Notification: Performance of SimCode: time 5.71e-07/1.315, allocations: 0 / 1.37 GB, free: 12.45 MB / 1.061 GB Notification: Performance of Templates: time 0.06894/1.384, allocations: 41.92 MB / 1.411 GB, free: 5.797 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