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.008221/0.008221, allocations: 96.47 kB / 15.73 MB, free: 6.051 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.001861/0.001861, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.666/2.666, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.91 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3561, allocations: 151.6 MB / 1.167 GB, free: 6.777 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07516/0.4313, allocations: 77.17 MB / 1.242 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7538/1.185, allocations: 18.87 MB / 1.26 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004518/1.19, allocations: 109 kB / 1.261 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00424/1.194, allocations: 1.293 MB / 1.262 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01494/1.209, allocations: 3.811 MB / 1.265 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007621/1.217, allocations: 2.098 MB / 1.268 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01553/1.232, allocations: 6.689 MB / 1.274 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004435/1.237, allocations: 2.088 MB / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007633/1.244, allocations: 2.387 MB / 1.278 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004388/1.249, allocations: 1.748 MB / 1.28 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006361/1.249, allocations: 204.1 kB / 1.28 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006389/1.256, allocations: 1.62 MB / 1.282 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009646/1.257, allocations: 0.5361 MB / 1.282 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003338/1.26, allocations: 1.249 MB / 1.284 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01204/1.272, allocations: 3.74 MB / 1.287 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.084e-05/1.272, allocations: 3.312 kB / 1.287 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.608e-06/1.272, allocations: 1.922 kB / 1.287 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001085/1.272, allocations: 0 / 1.287 GB, free: 2.441 MB / 0.9981 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.006847/1.279, allocations: 2.784 MB / 1.29 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 7.228e-05/1.279, allocations: 10.25 kB / 1.29 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/1.28, allocations: 280.2 kB / 1.29 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004519/1.285, allocations: 2.04 MB / 1.292 GB, free: 368 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.242e-05/1.285, allocations: 104.5 kB / 1.292 GB, free: 320 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002267/1.285, allocations: 151.2 kB / 1.293 GB, free: 268 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003515/1.289, allocations: 1.535 MB / 1.294 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.043e-05/1.289, allocations: 1.062 kB / 1.294 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/1.289, allocations: 65.55 kB / 1.294 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.618e-05/1.289, allocations: 37.66 kB / 1.294 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002575/1.292, allocations: 1.123 MB / 1.295 GB, free: 15.14 MB / 1.014 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.01206/1.304, allocations: 7.621 MB / 1.303 GB, free: 9.41 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/1.305, allocations: 490.4 kB / 1.303 GB, free: 9.234 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000738/1.306, allocations: 335.4 kB / 1.303 GB, free: 9.125 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/1.307, allocations: 1.154 MB / 1.305 GB, free: 7.793 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/1.307, allocations: 38.03 kB / 1.305 GB, free: 7.75 MB / 1.014 GB Notification: Performance of pre-optimization done (n=59): time 2.745e-06/1.307, allocations: 1.156 kB / 1.305 GB, free: 7.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=59): time 0.002852/1.31, allocations: 0.9753 MB / 1.306 GB, free: 7.383 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/1.31, allocations: 59.86 kB / 1.306 GB, free: 7.32 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003015/1.313, allocations: 1.785 MB / 1.307 GB, free: 6.602 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001181/1.313, allocations: 44.48 kB / 1.307 GB, free: 6.559 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009428/1.314, allocations: 0.9498 MB / 1.308 GB, free: 5.812 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003287/1.314, allocations: 226.6 kB / 1.309 GB, free: 5.641 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003672/1.315, allocations: 225.1 kB / 1.309 GB, free: 5.527 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000175/1.315, allocations: 346.5 kB / 1.309 GB, free: 5.207 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007877/1.316, allocations: 325.7 kB / 1.309 GB, free: 5.105 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/1.317, allocations: 0.6877 MB / 1.31 GB, free: 4.562 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/1.319, allocations: 1.018 MB / 1.311 GB, free: 3.871 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/1.319, allocations: 2.062 kB / 1.311 GB, free: 3.871 MB / 1.014 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002911/1.321, allocations: 1.227 MB / 1.312 GB, free: 3.387 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/1.321, allocations: 9.312 kB / 1.312 GB, free: 3.387 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/1.322, allocations: 9.375 kB / 1.312 GB, free: 3.387 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.528e-05/1.322, allocations: 20.06 kB / 1.312 GB, free: 3.383 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/1.323, allocations: 292.5 kB / 1.313 GB, free: 3.352 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.689e-05/1.323, allocations: 23.41 kB / 1.313 GB, free: 3.348 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/1.324, allocations: 163 kB / 1.313 GB, free: 3.254 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/1.325, allocations: 51.47 kB / 1.313 GB, free: 3.246 MB / 1.014 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.001213/1.326, allocations: 452.5 kB / 1.313 GB, free: 2.938 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004535/1.326, allocations: 200.6 kB / 1.313 GB, free: 2.832 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/1.328, allocations: 0.8571 MB / 1.314 GB, free: 2.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/1.328, allocations: 7.031 kB / 1.314 GB, free: 2.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.328, allocations: 0 / 1.314 GB, free: 2.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001425/1.33, allocations: 0.798 MB / 1.315 GB, free: 2.062 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005176/1.335, allocations: 2.448 MB / 1.317 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/1.335, allocations: 2.188 kB / 1.317 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007921/1.336, allocations: 186.5 kB / 1.318 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.457e-05/1.336, allocations: 8.844 kB / 1.318 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.8e-05/1.336, allocations: 21.23 kB / 1.318 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/1.336, allocations: 5.062 kB / 1.318 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/1.336, allocations: 2.656 kB / 1.318 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002935/1.339, allocations: 1.344 MB / 1.319 GB, free: 216 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/1.34, allocations: 376.2 kB / 1.319 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002383/1.34, allocations: 17.25 kB / 1.319 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/1.341, allocations: 73.25 kB / 1.319 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/1.341, allocations: 51.47 kB / 1.32 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.79e-05/1.341, allocations: 36.95 kB / 1.32 GB, free: 15.89 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002131/1.343, allocations: 1.241 MB / 1.321 GB, free: 15.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.81e-07/1.343, allocations: 0 / 1.321 GB, free: 15.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002885/1.346, allocations: 0.6546 MB / 1.321 GB, free: 15.24 MB / 1.029 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.001593/1.348, allocations: 0.6219 MB / 1.322 GB, free: 15 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002002/1.35, allocations: 0.819 MB / 1.323 GB, free: 14.75 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/1.35, allocations: 5.594 kB / 1.323 GB, free: 14.75 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007947/1.351, allocations: 354.6 kB / 1.323 GB, free: 14.64 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005972/1.357, allocations: 1.201 MB / 1.324 GB, free: 14.27 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005797/1.363, allocations: 3.115 MB / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/1.364, allocations: 1.406 MB / 1.329 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002366/1.366, allocations: 384.2 kB / 1.329 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000461/1.367, allocations: 145.8 kB / 1.329 GB, free: 11.66 MB / 1.029 GB Notification: Performance of SimCode: time 1.673e-06/1.367, allocations: 0 / 1.329 GB, free: 11.66 MB / 1.029 GB Notification: Performance of Templates: time 0.07637/1.443, allocations: 41.93 MB / 1.37 GB, free: 14.1 MB / 1.061 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches