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.001303/0.001303, allocations: 115.2 kB / 16.42 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.001252/0.001252, allocations: 188.2 kB / 17.35 MB, free: 5.758 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.311/1.311, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.397/2.397, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 63.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6858/0.6874, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04209/0.7295, allocations: 41.6 MB / 1.208 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01426/0.7438, allocations: 10.39 MB / 1.218 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001664/0.7455, allocations: 59.62 kB / 1.218 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001798/0.7473, allocations: 0.6561 MB / 1.219 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004774/0.7521, allocations: 1.976 MB / 1.221 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002935/0.7551, allocations: 1.194 MB / 1.222 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00422/0.7593, allocations: 3.408 MB / 1.225 GB, free: 8.391 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.7609, allocations: 1.06 MB / 1.226 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00271/0.7636, allocations: 1.266 MB / 1.227 GB, free: 6.051 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/0.765, allocations: 0.8828 MB / 1.228 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002456/0.7652, allocations: 100 kB / 1.228 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002056/0.7673, allocations: 0.8695 MB / 1.229 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003395/0.7676, allocations: 275 kB / 1.23 GB, free: 3.926 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0008603/0.7685, allocations: 0.6338 MB / 1.23 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002859/0.7714, allocations: 1.918 MB / 1.232 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7714, allocations: 0 / 1.232 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7714, allocations: 0 / 1.232 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.018e-05/0.7714, allocations: 0 / 1.232 GB, free: 1.367 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.002741/0.7742, allocations: 1.519 MB / 1.234 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.7742, allocations: 8.922 kB / 1.234 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004009/0.7746, allocations: 135.4 kB / 1.234 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001929/0.7766, allocations: 1.107 MB / 1.235 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.274e-05/0.7766, allocations: 54 kB / 1.235 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.7768, allocations: 75.91 kB / 1.235 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.7781, allocations: 0.7866 MB / 1.236 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.7782, allocations: 0 / 1.236 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.117e-05/0.7783, allocations: 35.98 kB / 1.236 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.695e-05/0.7783, allocations: 23.98 kB / 1.236 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.7795, allocations: 0.5672 MB / 1.236 GB, free: 12.93 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.004092/0.7836, allocations: 3.555 MB / 1.24 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005648/0.7841, allocations: 255.5 kB / 1.24 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000355/0.7845, allocations: 180.8 kB / 1.24 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005087/0.785, allocations: 0.657 MB / 1.241 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.7851, allocations: 38.56 kB / 1.241 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=31): time 1.774e-06/0.7851, allocations: 0 / 1.241 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of matching and sorting (n=31): time 0.001202/0.7863, allocations: 0.5147 MB / 1.241 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.7863, allocations: 55.41 kB / 1.241 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.7875, allocations: 0.9456 MB / 1.242 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.514e-05/0.7876, allocations: 33.64 kB / 1.242 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004004/0.788, allocations: 0.4918 MB / 1.243 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.929e-05/0.7881, allocations: 118.4 kB / 1.243 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.7883, allocations: 122 kB / 1.243 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.7884, allocations: 329.9 kB / 1.243 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003726/0.7888, allocations: 161 kB / 1.243 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/0.7893, allocations: 350.9 kB / 1.244 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008323/0.7901, allocations: 0.5149 MB / 1.244 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.7901, allocations: 0 / 1.244 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001176/0.7913, allocations: 0.6131 MB / 1.245 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.7913, allocations: 4 kB / 1.245 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.7914, allocations: 8 kB / 1.245 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.7914, allocations: 8.625 kB / 1.245 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/0.7918, allocations: 127.8 kB / 1.245 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/0.7919, allocations: 11.94 kB / 1.245 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006064/0.7925, allocations: 83.19 kB / 1.245 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.451e-05/0.7925, allocations: 24 kB / 1.245 GB, free: 3.152 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.0003561/0.7929, allocations: 283.7 kB / 1.245 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.7931, allocations: 102.8 kB / 1.246 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009978/0.7941, allocations: 491 kB / 1.246 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007564/0.7948, allocations: 445.5 kB / 1.246 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.7949, allocations: 0 / 1.246 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003366/0.7952, allocations: 227.8 kB / 1.247 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.7953, allocations: 7.938 kB / 1.247 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005263/0.7959, allocations: 27.95 kB / 1.247 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/0.796, allocations: 24.25 kB / 1.247 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001048/0.797, allocations: 0.5041 MB / 1.247 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001282/0.7983, allocations: 0.8264 MB / 1.248 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003571/0.7987, allocations: 181.3 kB / 1.248 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000829/0.7995, allocations: 0.6585 MB / 1.249 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of Backend: time 8.41e-07/0.7995, allocations: 4 kB / 1.249 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001747/0.8013, allocations: 0.6942 MB / 1.25 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of SimCode: time 0.00421/0.8055, allocations: 2.447 MB / 1.252 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of Templates: time 0.0338/0.8393, allocations: 21.49 MB / 1.273 GB, free: 6.898 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches