Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.Volumes.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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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(ThermofluidStream.Boundaries.Tests.Volumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|flexVolume1.M|flexVolume1.U_med|flexVolume1.m_flow_in|heatportVolume.M|heatportVolume.U_med|heatportVolume1.M|heatportVolume1.U_med|heatportVolume1.m_flow_in|heatportVolume2.M|heatportVolume2.U_med|heatportVolume2.m_flow_out|heatportVolume3.M|heatportVolume3.U_med|sink.inlet.m_flow|sink1.inlet.m_flow|sink5.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source7.outlet.m_flow|volume.M|volume.U_med|volume1.M|volume1.U_med|volumeMix.M|volumeMix.MXi.1.|volumeMix.MXi.2.|volumeMix.U_med|volumeMix.inlet.1..m_flow|volumeMix.inlet.2..m_flow|volumeMix.outlet.m_flow|volumeMix1.M|volumeMix1.MXi.1.|volumeMix1.MXi.2.|volumeMix1.U_med|volumeMix1.inlet.1..m_flow|volumeMix1.inlet.2..m_flow|volumeMix1.outlet.m_flow|volumeMix2.M|volumeMix2.MXi.1.|volumeMix2.MXi.2.|volumeMix2.U_med|volumeMix3.M|volumeMix3.MXi.1.|volumeMix3.MXi.2.|volumeMix3.U_med|volumeMix3.inlet.1..m_flow|volumeMix3.inlet.2..m_flow|volumeMix3.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.Volumes") translateModel(ThermofluidStream.Boundaries.Tests.Volumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|flexVolume1.M|flexVolume1.U_med|flexVolume1.m_flow_in|heatportVolume.M|heatportVolume.U_med|heatportVolume1.M|heatportVolume1.U_med|heatportVolume1.m_flow_in|heatportVolume2.M|heatportVolume2.U_med|heatportVolume2.m_flow_out|heatportVolume3.M|heatportVolume3.U_med|sink.inlet.m_flow|sink1.inlet.m_flow|sink5.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source7.outlet.m_flow|volume.M|volume.U_med|volume1.M|volume1.U_med|volumeMix.M|volumeMix.MXi.1.|volumeMix.MXi.2.|volumeMix.U_med|volumeMix.inlet.1..m_flow|volumeMix.inlet.2..m_flow|volumeMix.outlet.m_flow|volumeMix1.M|volumeMix1.MXi.1.|volumeMix1.MXi.2.|volumeMix1.U_med|volumeMix1.inlet.1..m_flow|volumeMix1.inlet.2..m_flow|volumeMix1.outlet.m_flow|volumeMix2.M|volumeMix2.MXi.1.|volumeMix2.MXi.2.|volumeMix2.U_med|volumeMix3.M|volumeMix3.MXi.1.|volumeMix3.MXi.2.|volumeMix3.U_med|volumeMix3.inlet.1..m_flow|volumeMix3.inlet.2..m_flow|volumeMix3.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.Volumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.001056/0.001056, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6925/0.6925, allocations: 91.18 MB / 382.4 MB, free: 7.516 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 75.88 kB / 0.5175 GB, free: 4.078 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2798, allocations: 67.69 MB / 0.5837 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Volumes): time 0.5935/0.8734, allocations: 343.6 MB / 0.9192 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.04578/0.9192, allocations: 39.63 MB / 0.9579 GB, free: 9.176 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004421/0.9237, allocations: 158.9 kB / 0.958 GB, free: 9.02 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.007917/0.9316, allocations: 3.123 MB / 0.9611 GB, free: 5.879 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.02349/0.9551, allocations: 8.797 MB / 0.9697 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01693/0.9721, allocations: 6.422 MB / 0.9759 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01231/0.9844, allocations: 8.951 MB / 0.9847 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002492/0.9869, allocations: 1.194 MB / 0.9858 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01384/1.001, allocations: 6.442 MB / 0.9921 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006201/1.007, allocations: 3.716 MB / 0.9958 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001963/1.009, allocations: 436 kB / 0.9962 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02362/1.033, allocations: 11.04 MB / 1.007 GB, free: 6.715 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002485/1.035, allocations: 1.557 MB / 1.008 GB, free: 5.152 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.005516/1.041, allocations: 2.841 MB / 1.011 GB, free: 2.297 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0236/1.064, allocations: 10.76 MB / 1.022 GB, free: 7.496 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/1.064, allocations: 0 / 1.022 GB, free: 7.496 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.753e-06/1.064, allocations: 0 / 1.022 GB, free: 7.496 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002544/1.065, allocations: 0 / 1.022 GB, free: 7.496 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 995 * Number of variables: 995 Notification: Performance of Generate backend data structure: time 0.01593/1.081, allocations: 6.834 MB / 1.028 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/1.081, allocations: 11.97 kB / 1.028 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2538/1.334, allocations: 0.8537 MB / 1.029 GB, free: 325.9 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007445/1.342, allocations: 3.12 MB / 1.032 GB, free: 325.1 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003581/1.342, allocations: 301.2 kB / 1.033 GB, free: 324.9 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001159/1.343, allocations: 413.1 kB / 1.033 GB, free: 324.8 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009619/1.353, allocations: 4.964 MB / 1.038 GB, free: 322.9 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.68e-05/1.353, allocations: 15.55 kB / 1.038 GB, free: 322.9 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003416/1.353, allocations: 162.9 kB / 1.038 GB, free: 322.8 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003068/1.354, allocations: 323.9 kB / 1.038 GB, free: 322.7 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005496/1.359, allocations: 4.278 MB / 1.043 GB, free: 321.3 MB / 0.7637 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.02766/1.387, allocations: 22.17 MB / 1.064 GB, free: 303 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005172/1.392, allocations: 3.298 MB / 1.067 GB, free: 301.3 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002608/1.395, allocations: 1.994 MB / 1.069 GB, free: 299.6 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01253/1.407, allocations: 10.91 MB / 1.08 GB, free: 287.7 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.811e-05/1.407, allocations: 104.7 kB / 1.08 GB, free: 287.6 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=390): time 6.272e-06/1.407, allocations: 3.375 kB / 1.08 GB, free: 287.6 MB / 0.7637 GB Notification: Performance of matching and sorting (n=390): time 0.01339/1.421, allocations: 8.726 MB / 1.089 GB, free: 278.3 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/1.421, allocations: 273.6 kB / 1.089 GB, free: 278 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004152/1.425, allocations: 3.346 MB / 1.092 GB, free: 274.6 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0003634/1.425, allocations: 105.7 kB / 1.092 GB, free: 274.5 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009986/1.426, allocations: 1.982 MB / 1.094 GB, free: 272.7 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008803/1.427, allocations: 1.427 MB / 1.096 GB, free: 271.5 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001134/1.429, allocations: 0.7401 MB / 1.096 GB, free: 270.7 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 3.626e-05/1.429, allocations: 305.1 kB / 1.097 GB, free: 270.4 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002357/1.431, allocations: 1.538 MB / 1.098 GB, free: 268.9 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002718/1.434, allocations: 2.183 MB / 1.1 GB, free: 266.5 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005018/1.439, allocations: 3.91 MB / 1.104 GB, free: 262.4 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.346e-05/1.439, allocations: 7.938 kB / 1.104 GB, free: 262.4 MB / 0.7637 GB Notification: Performance of matching and sorting (n=520) (initialization): time 0.008405/1.447, allocations: 5.147 MB / 1.109 GB, free: 257.2 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/1.447, allocations: 12 kB / 1.109 GB, free: 257.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.817e-05/1.447, allocations: 16 kB / 1.109 GB, free: 257.1 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0017/1.449, allocations: 0.5885 MB / 1.11 GB, free: 256.5 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002905/1.452, allocations: 0.8308 MB / 1.11 GB, free: 255.7 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/1.464, allocations: 26.23 MB / 1.136 GB, free: 227.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003436/1.468, allocations: 410.5 kB / 1.136 GB, free: 226.7 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008201/1.468, allocations: 239.6 kB / 1.137 GB, free: 226.5 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (478): * Single equations (assignments): 451 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002219/1.471, allocations: 0.7739 MB / 1.137 GB, free: 225.7 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001675/1.472, allocations: 0.4917 MB / 1.138 GB, free: 225.2 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01001/1.482, allocations: 5.99 MB / 1.144 GB, free: 219.1 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.308e-05/1.482, allocations: 19.88 kB / 1.144 GB, free: 219.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/1.482, allocations: 7.938 kB / 1.144 GB, free: 219.1 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/1.484, allocations: 0.5674 MB / 1.144 GB, free: 218.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001038/1.485, allocations: 91.72 kB / 1.144 GB, free: 218.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002985/1.488, allocations: 155.8 kB / 1.145 GB, free: 218.2 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004872/1.488, allocations: 289.9 kB / 1.145 GB, free: 218 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01157/1.5, allocations: 5.644 MB / 1.15 GB, free: 212.4 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009219/1.509, allocations: 6.719 MB / 1.157 GB, free: 205.6 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00224/1.511, allocations: 1.724 MB / 1.159 GB, free: 203.9 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00326/1.515, allocations: 2.305 MB / 1.161 GB, free: 201.6 MB / 0.7637 GB Notification: Performance of Backend: time 7.01e-07/1.515, allocations: 3.938 kB / 1.161 GB, free: 201.6 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01626/1.531, allocations: 7.648 MB / 1.168 GB, free: 194.1 MB / 0.7637 GB Notification: Performance of SimCode: time 0.01698/1.548, allocations: 11.61 MB / 1.18 GB, free: 182.5 MB / 0.7637 GB Notification: Performance of Templates: time 0.14/1.688, allocations: 113.9 MB / 1.291 GB, free: 69.26 MB / 0.7637 GB make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.Volumes.makefile (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.Volumes.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.Volumes.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.Volumes.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.Volumes.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.Volumes -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.Volumes.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.Volumes_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.Volumes_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.Volumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches