Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.007034/0.007034, allocations: 103.1 kB / 15.74 MB, free: 6.059 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.001156/0.001156, allocations: 190.9 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.356/1.356, allocations: 222.9 MB / 240.4 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.386/2.386, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 67.89 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9753/0.9767, allocations: 151.6 MB / 1.167 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04432/1.021, allocations: 41.6 MB / 1.207 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01616/1.037, allocations: 10.39 MB / 1.217 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002541/1.04, allocations: 55.69 kB / 1.217 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001894/1.042, allocations: 0.6677 MB / 1.218 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005697/1.048, allocations: 1.969 MB / 1.22 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00302/1.051, allocations: 1.186 MB / 1.221 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004737/1.055, allocations: 3.407 MB / 1.224 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001513/1.057, allocations: 1.06 MB / 1.226 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003281/1.06, allocations: 1.269 MB / 1.227 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/1.061, allocations: 0.8789 MB / 1.228 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001534/1.061, allocations: 104 kB / 1.228 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002149/1.064, allocations: 0.8656 MB / 1.229 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002792/1.064, allocations: 275 kB / 1.229 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0007267/1.065, allocations: 0.6298 MB / 1.229 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002962/1.068, allocations: 1.931 MB / 1.231 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.068, allocations: 4 kB / 1.231 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.583e-06/1.068, allocations: 0 / 1.231 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.568e-05/1.068, allocations: 0 / 1.231 GB, free: 1.277 MB / 0.9512 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.002442/1.07, allocations: 1.552 MB / 1.233 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/1.07, allocations: 12.92 kB / 1.233 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003445/1.07, allocations: 144.1 kB / 1.233 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/1.072, allocations: 1.108 MB / 1.234 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.493e-05/1.072, allocations: 54 kB / 1.234 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/1.072, allocations: 75.94 kB / 1.234 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/1.074, allocations: 0.7905 MB / 1.235 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/1.074, allocations: 3.938 kB / 1.235 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.75e-05/1.074, allocations: 35.98 kB / 1.235 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.244e-05/1.074, allocations: 20 kB / 1.235 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/1.075, allocations: 0.5749 MB / 1.236 GB, free: 12.78 MB / 0.9669 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.003954/1.079, allocations: 3.56 MB / 1.239 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005632/1.08, allocations: 266.3 kB / 1.239 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003459/1.08, allocations: 176.7 kB / 1.239 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005531/1.081, allocations: 0.6609 MB / 1.24 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/1.081, allocations: 38.56 kB / 1.24 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=31): time 2.003e-06/1.081, allocations: 8 kB / 1.24 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of matching and sorting (n=31): time 0.001165/1.082, allocations: 0.5153 MB / 1.241 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/1.082, allocations: 51.41 kB / 1.241 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/1.083, allocations: 0.9456 MB / 1.242 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/1.083, allocations: 41.7 kB / 1.242 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004072/1.083, allocations: 0.4965 MB / 1.242 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/1.083, allocations: 119 kB / 1.242 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/1.084, allocations: 122.1 kB / 1.242 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001235/1.084, allocations: 325.9 kB / 1.243 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000356/1.084, allocations: 161 kB / 1.243 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005134/1.085, allocations: 351 kB / 1.243 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008205/1.086, allocations: 0.5071 MB / 1.244 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.086, allocations: 0 / 1.244 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001122/1.087, allocations: 0.6213 MB / 1.244 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/1.087, allocations: 8.688 kB / 1.244 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/1.087, allocations: 8 kB / 1.244 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/1.087, allocations: 12 kB / 1.244 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000441/1.087, allocations: 119.8 kB / 1.244 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/1.087, allocations: 11.94 kB / 1.244 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006055/1.088, allocations: 83.44 kB / 1.245 GB, free: 3 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.877e-05/1.088, allocations: 27.98 kB / 1.245 GB, free: 2.973 MB / 0.9669 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.0003401/1.088, allocations: 281.6 kB / 1.245 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/1.088, allocations: 103.3 kB / 1.245 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009601/1.089, allocations: 484.3 kB / 1.245 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/1.089, allocations: 7.938 kB / 1.245 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.089, allocations: 3.938 kB / 1.245 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007056/1.09, allocations: 453.5 kB / 1.246 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/1.092, allocations: 1.371 MB / 1.247 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/1.092, allocations: 0 / 1.247 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003344/1.093, allocations: 75.89 kB / 1.247 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/1.093, allocations: 7.938 kB / 1.247 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/1.093, allocations: 11.98 kB / 1.247 GB, free: 92 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/1.093, allocations: 4 kB / 1.247 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.093, allocations: 0 / 1.247 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/1.094, allocations: 0.7678 MB / 1.248 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003601/1.094, allocations: 240.2 kB / 1.248 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/1.094, allocations: 8 kB / 1.248 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004739/1.095, allocations: 23.97 kB / 1.248 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.936e-05/1.095, allocations: 27.95 kB / 1.248 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/1.095, allocations: 24.05 kB / 1.248 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008808/1.096, allocations: 0.6628 MB / 1.249 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.5e-07/1.096, allocations: 0 / 1.249 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001016/1.097, allocations: 339.3 kB / 1.249 GB, free: 13.95 MB / 0.9825 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.0008173/1.098, allocations: 393 kB / 1.25 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008876/1.099, allocations: 427.7 kB / 1.25 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.099, allocations: 5.375 kB / 1.25 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003777/1.099, allocations: 188.1 kB / 1.25 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002538/1.102, allocations: 0.6013 MB / 1.251 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/1.104, allocations: 1.627 MB / 1.252 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005998/1.105, allocations: 1.04 MB / 1.253 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0006366/1.105, allocations: 199.9 kB / 1.254 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/1.106, allocations: 83.41 kB / 1.254 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of SimCode: time 8.41e-07/1.106, allocations: 0 / 1.254 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of Templates: time 0.03883/1.144, allocations: 21.36 MB / 1.275 GB, free: 4.246 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches