Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 110.1 kB / 15.99 MB, free: 6.355 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.001553/0.001553, allocations: 191.2 kB / 16.91 MB, free: 6.191 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.347/1.347, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.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.206/2.206, allocations: 390.3 MB / 0.665 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 72.31 kB / 0.8127 GB, free: 33.23 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2858, allocations: 140.4 MB / 0.9498 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04169/0.3276, allocations: 41.27 MB / 0.9901 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01474/0.3423, allocations: 10.31 MB / 1 GB, free: 5.488 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002193/0.3446, allocations: 51.69 kB / 1 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002187/0.3468, allocations: 0.5595 MB / 1.001 GB, free: 4.875 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006175/0.353, allocations: 1.761 MB / 1.002 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00357/0.3566, allocations: 1.083 MB / 1.004 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004884/0.3615, allocations: 3.426 MB / 1.007 GB, free: 14.61 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001933/0.3635, allocations: 1.056 MB / 1.008 GB, free: 13.53 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003655/0.3672, allocations: 1.226 MB / 1.009 GB, free: 12.3 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001799/0.369, allocations: 0.9256 MB / 1.01 GB, free: 11.38 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003608/0.3693, allocations: 100 kB / 1.01 GB, free: 11.28 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002502/0.3719, allocations: 0.8771 MB / 1.011 GB, free: 10.4 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0004983/0.3724, allocations: 275 kB / 1.011 GB, free: 10.13 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001277/0.3737, allocations: 0.6299 MB / 1.012 GB, free: 9.496 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002521/0.3762, allocations: 1.477 MB / 1.013 GB, free: 8.016 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.3762, allocations: 3.938 kB / 1.013 GB, free: 8.012 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.236e-06/0.3762, allocations: 0 / 1.013 GB, free: 8.012 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.749e-05/0.3763, allocations: 3.938 kB / 1.013 GB, free: 8.008 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003371/0.3797, allocations: 1.511 MB / 1.015 GB, free: 6.445 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.3797, allocations: 8.031 kB / 1.015 GB, free: 6.438 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004565/0.3802, allocations: 139.5 kB / 1.015 GB, free: 6.301 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00178/0.382, allocations: 1.084 MB / 1.016 GB, free: 5.172 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.576e-05/0.382, allocations: 53.94 kB / 1.016 GB, free: 5.121 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.3822, allocations: 76 kB / 1.016 GB, free: 5.047 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.3836, allocations: 0.7866 MB / 1.017 GB, free: 4.223 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.3837, allocations: 4 kB / 1.017 GB, free: 4.219 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.981e-05/0.3838, allocations: 35.98 kB / 1.017 GB, free: 4.184 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.024e-05/0.3838, allocations: 16 kB / 1.017 GB, free: 4.168 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.3849, allocations: 0.5711 MB / 1.017 GB, free: 3.594 MB / 0.795 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.004118/0.389, allocations: 3.548 MB / 1.021 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005551/0.3896, allocations: 262.1 kB / 1.021 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.39, allocations: 177.3 kB / 1.021 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005105/0.3905, allocations: 0.6649 MB / 1.022 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.3905, allocations: 34.56 kB / 1.022 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=31): time 2.405e-06/0.3905, allocations: 0 / 1.022 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=31): time 0.001244/0.3918, allocations: 0.5124 MB / 1.023 GB, free: 14 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.3918, allocations: 59.41 kB / 1.023 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.393, allocations: 0.9338 MB / 1.023 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.434e-05/0.3931, allocations: 33.7 kB / 1.024 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003952/0.3935, allocations: 499.5 kB / 1.024 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.3936, allocations: 118.4 kB / 1.024 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.3938, allocations: 110.2 kB / 1.024 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3939, allocations: 333.9 kB / 1.025 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/0.3943, allocations: 165 kB / 1.025 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004893/0.3948, allocations: 350.4 kB / 1.025 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008437/0.3956, allocations: 0.5186 MB / 1.026 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.3957, allocations: 0 / 1.026 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001178/0.3968, allocations: 0.6135 MB / 1.026 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.3969, allocations: 10.5 kB / 1.026 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.3969, allocations: 11.94 kB / 1.026 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.3969, allocations: 8 kB / 1.026 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004294/0.3974, allocations: 123.8 kB / 1.026 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.3974, allocations: 8 kB / 1.026 GB, free: 9.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007136/0.3981, allocations: 107.4 kB / 1.026 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.175e-05/0.3982, allocations: 31.92 kB / 1.026 GB, free: 9.809 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0003677/0.3985, allocations: 285.5 kB / 1.027 GB, free: 9.52 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.3987, allocations: 102.7 kB / 1.027 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.3998, allocations: 484.3 kB / 1.027 GB, free: 8.934 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.3998, allocations: 11.98 kB / 1.027 GB, free: 8.922 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3998, allocations: 0 / 1.027 GB, free: 8.922 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006939/0.4005, allocations: 445.5 kB / 1.028 GB, free: 8.457 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/0.4027, allocations: 1.358 MB / 1.029 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.4027, allocations: 4 kB / 1.029 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/0.403, allocations: 75.89 kB / 1.029 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.403, allocations: 3.938 kB / 1.029 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.4031, allocations: 20.14 kB / 1.029 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.4031, allocations: 0 / 1.029 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.4031, allocations: 4 kB / 1.029 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.4044, allocations: 0.7621 MB / 1.03 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003743/0.4048, allocations: 231.6 kB / 1.03 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.405, allocations: 8 kB / 1.03 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006186/0.4056, allocations: 52 kB / 1.03 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.827e-05/0.4057, allocations: 23.97 kB / 1.03 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/0.4057, allocations: 19.98 kB / 1.03 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008502/0.4066, allocations: 0.6549 MB / 1.031 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4066, allocations: 0 / 1.031 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001031/0.4076, allocations: 331.5 kB / 1.031 GB, free: 4.793 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0008391/0.4085, allocations: 380.8 kB / 1.031 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.4095, allocations: 448.6 kB / 1.032 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4095, allocations: 0 / 1.032 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003799/0.4099, allocations: 179.8 kB / 1.032 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002742/0.4127, allocations: 0.6276 MB / 1.033 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/0.4157, allocations: 1.971 MB / 1.035 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006641/0.4164, allocations: 1.032 MB / 1.036 GB, free: 112 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002517/0.4167, allocations: 87.42 kB / 1.036 GB, free: 28 kB / 0.8106 GB Notification: Performance of SimCode: time 1.613e-06/0.4167, allocations: 0 / 1.036 GB, free: 28 kB / 0.8106 GB Notification: Performance of Templates: time 0.02751/0.4442, allocations: 17.77 MB / 1.053 GB, free: 14.41 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches