Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.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_latest_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_latest_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.001688/0.001688, allocations: 106.8 kB / 16.36 MB, free: 6.258 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.002011/0.002011, allocations: 189.7 kB / 17.3 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.184/2.184, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 4.068/4.068, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002486/0.002486, allocations: 68.38 kB / 0.8774 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4184, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.07975/0.4982, allocations: 41.59 MB / 1.067 GB, free: 8.293 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.739/1.237, allocations: 10.38 MB / 1.078 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00335/1.241, allocations: 59.72 kB / 1.078 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002954/1.244, allocations: 0.6376 MB / 1.078 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.007614/1.251, allocations: 1.893 MB / 1.08 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004475/1.256, allocations: 1.18 MB / 1.081 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007452/1.263, allocations: 3.391 MB / 1.085 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0028/1.266, allocations: 1.069 MB / 1.086 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004793/1.271, allocations: 1.229 MB / 1.087 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002577/1.274, allocations: 0.8823 MB / 1.088 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003829/1.274, allocations: 100.4 kB / 1.088 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003736/1.278, allocations: 0.8564 MB / 1.089 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0005549/1.278, allocations: 284.6 kB / 1.089 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001538/1.28, allocations: 0.6224 MB / 1.089 GB, free: 11 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.005056/1.285, allocations: 1.926 MB / 1.091 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/1.285, allocations: 0 / 1.091 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.034e-06/1.285, allocations: 0.5625 kB / 1.091 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.775e-05/1.285, allocations: 0 / 1.091 GB, free: 10.75 MB / 0.8419 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.004297/1.289, allocations: 1.522 MB / 1.093 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.082e-05/1.289, allocations: 9.156 kB / 1.093 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007626/1.29, allocations: 130 kB / 1.093 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002916/1.293, allocations: 1.104 MB / 1.094 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.964e-05/1.293, allocations: 54.72 kB / 1.094 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/1.293, allocations: 77.12 kB / 1.094 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002234/1.296, allocations: 0.7889 MB / 1.095 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.484e-05/1.296, allocations: 5.688 kB / 1.095 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/1.296, allocations: 30.39 kB / 1.095 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.425e-05/1.296, allocations: 31.64 kB / 1.095 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/1.298, allocations: 0.5664 MB / 1.096 GB, free: 9.359 MB / 0.8419 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.00645/1.304, allocations: 3.544 MB / 1.099 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008946/1.305, allocations: 267.4 kB / 1.099 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005408/1.306, allocations: 182.8 kB / 1.099 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005033/1.306, allocations: 0.6569 MB / 1.1 GB, free: 6.746 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/1.306, allocations: 41.06 kB / 1.1 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=31): time 3.487e-06/1.306, allocations: 0 / 1.1 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of matching and sorting (n=31): time 0.002007/1.308, allocations: 0.5129 MB / 1.101 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/1.308, allocations: 56.86 kB / 1.101 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002174/1.311, allocations: 0.9489 MB / 1.102 GB, free: 6.398 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.22e-05/1.311, allocations: 35.33 kB / 1.102 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005105/1.311, allocations: 0.4904 MB / 1.102 GB, free: 6.176 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/1.311, allocations: 117.4 kB / 1.102 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002487/1.312, allocations: 113 kB / 1.102 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.303e-05/1.312, allocations: 328.2 kB / 1.103 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005528/1.312, allocations: 166.4 kB / 1.103 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007004/1.313, allocations: 343.9 kB / 1.103 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/1.314, allocations: 0.5117 MB / 1.104 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/1.314, allocations: 5.312 kB / 1.104 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001824/1.316, allocations: 0.6231 MB / 1.104 GB, free: 4.918 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/1.316, allocations: 8.25 kB / 1.104 GB, free: 4.918 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/1.316, allocations: 6.156 kB / 1.104 GB, free: 4.918 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.331e-05/1.316, allocations: 6.875 kB / 1.104 GB, free: 4.918 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007275/1.317, allocations: 125.1 kB / 1.104 GB, free: 4.914 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.01e-05/1.317, allocations: 8.297 kB / 1.104 GB, free: 4.914 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/1.318, allocations: 83.75 kB / 1.104 GB, free: 4.867 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.319e-05/1.318, allocations: 29.83 kB / 1.104 GB, free: 4.859 MB / 0.8419 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.0006273/1.319, allocations: 286.6 kB / 1.105 GB, free: 4.652 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003025/1.319, allocations: 99.59 kB / 1.105 GB, free: 4.602 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/1.321, allocations: 474.9 kB / 1.105 GB, free: 4.418 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00107/1.322, allocations: 454.3 kB / 1.106 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.322, allocations: 1.125 kB / 1.106 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006198/1.322, allocations: 222.8 kB / 1.106 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/1.323, allocations: 10.75 kB / 1.106 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008308/1.323, allocations: 28.8 kB / 1.106 GB, free: 3.973 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/1.324, allocations: 30.31 kB / 1.106 GB, free: 3.961 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001562/1.325, allocations: 0.4953 MB / 1.106 GB, free: 3.742 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002054/1.327, allocations: 0.8385 MB / 1.107 GB, free: 3.289 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005539/1.328, allocations: 175 kB / 1.107 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001923/1.33, allocations: 0.6519 MB / 1.108 GB, free: 2.949 MB / 0.8419 GB Notification: Performance of Backend: time 7.01e-07/1.33, allocations: 0.8125 kB / 1.108 GB, free: 2.949 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004144/1.334, allocations: 0.6903 MB / 1.109 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of SimCode: time 0.007907/1.342, allocations: 2.451 MB / 1.111 GB, free: 1.285 MB / 0.8419 GB Notification: Performance of Templates: time 0.06109/1.403, allocations: 21.34 MB / 1.132 GB, free: 11.2 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches