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.001511/0.001511, allocations: 114.9 kB / 16.42 MB, free: 6.012 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.001763/0.001763, allocations: 183.2 kB / 17.35 MB, free: 5.629 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.344/1.344, allocations: 222.9 MB / 241 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.6708/0.6708, allocations: 91.19 MB / 382.4 MB, free: 7.504 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 80.2 kB / 0.5175 GB, free: 4.066 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2705, allocations: 67.69 MB / 0.5836 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Volumes): time 0.5957/0.8663, allocations: 343.6 MB / 0.9192 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.04681/0.9131, allocations: 39.63 MB / 0.9579 GB, free: 9.195 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004295/0.9175, allocations: 158.9 kB / 0.958 GB, free: 9.039 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.00751/0.925, allocations: 3.123 MB / 0.9611 GB, free: 5.898 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.02211/0.9472, allocations: 8.783 MB / 0.9696 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01715/0.9644, allocations: 6.434 MB / 0.9759 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01218/0.9766, allocations: 8.948 MB / 0.9847 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002408/0.979, allocations: 1.206 MB / 0.9858 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01323/0.9922, allocations: 6.442 MB / 0.9921 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006201/0.9985, allocations: 3.72 MB / 0.9958 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001765/1, allocations: 436 kB / 0.9962 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02271/1.023, allocations: 11.03 MB / 1.007 GB, free: 6.727 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002366/1.025, allocations: 1.565 MB / 1.008 GB, free: 5.156 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.005426/1.031, allocations: 2.845 MB / 1.011 GB, free: 2.297 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.02083/1.052, allocations: 10.72 MB / 1.022 GB, free: 7.551 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/1.052, allocations: 7.938 kB / 1.022 GB, free: 7.543 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.683e-06/1.052, allocations: 0 / 1.022 GB, free: 7.543 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002097/1.052, allocations: 0 / 1.022 GB, free: 7.543 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.01506/1.067, allocations: 6.641 MB / 1.028 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/1.067, allocations: 8.031 kB / 1.028 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2505/1.318, allocations: 0.8249 MB / 1.029 GB, free: 326 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007134/1.325, allocations: 3.092 MB / 1.032 GB, free: 325.2 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002542/1.325, allocations: 296.3 kB / 1.032 GB, free: 325.1 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007389/1.326, allocations: 409.7 kB / 1.033 GB, free: 324.9 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008995/1.335, allocations: 4.968 MB / 1.038 GB, free: 323 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-05/1.335, allocations: 5.312 kB / 1.038 GB, free: 323 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003865/1.335, allocations: 166.8 kB / 1.038 GB, free: 322.9 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003409/1.336, allocations: 328.1 kB / 1.038 GB, free: 322.9 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005605/1.341, allocations: 4.272 MB / 1.042 GB, free: 321.4 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.02481/1.366, allocations: 22.13 MB / 1.064 GB, free: 303.1 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004681/1.371, allocations: 3.291 MB / 1.067 GB, free: 301.3 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002387/1.373, allocations: 1.989 MB / 1.069 GB, free: 300 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01192/1.385, allocations: 10.91 MB / 1.08 GB, free: 288 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.88e-05/1.385, allocations: 108.7 kB / 1.08 GB, free: 287.9 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=390): time 6.021e-06/1.385, allocations: 0 / 1.08 GB, free: 287.9 MB / 0.7637 GB Notification: Performance of matching and sorting (n=390): time 0.01328/1.398, allocations: 8.699 MB / 1.088 GB, free: 278.6 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/1.399, allocations: 277.6 kB / 1.089 GB, free: 278.3 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003479/1.402, allocations: 3.337 MB / 1.092 GB, free: 274.9 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0003554/1.402, allocations: 113.5 kB / 1.092 GB, free: 274.8 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009098/1.403, allocations: 1.958 MB / 1.094 GB, free: 272.9 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006969/1.404, allocations: 1.35 MB / 1.095 GB, free: 271.5 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009271/1.405, allocations: 0.7398 MB / 1.096 GB, free: 270.8 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 3.505e-05/1.405, allocations: 301.1 kB / 1.096 GB, free: 270.5 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002196/1.407, allocations: 1.538 MB / 1.098 GB, free: 268.9 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002539/1.41, allocations: 2.194 MB / 1.1 GB, free: 266.5 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004692/1.414, allocations: 3.901 MB / 1.104 GB, free: 262.4 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/1.414, allocations: 4 kB / 1.104 GB, free: 262.4 MB / 0.7637 GB Notification: Performance of matching and sorting (n=520) (initialization): time 0.00795/1.422, allocations: 5.121 MB / 1.109 GB, free: 257.2 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/1.422, allocations: 12 kB / 1.109 GB, free: 257.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/1.422, allocations: 16 kB / 1.109 GB, free: 257.2 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001643/1.424, allocations: 0.5916 MB / 1.109 GB, free: 256.6 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002919/1.427, allocations: 0.8347 MB / 1.11 GB, free: 255.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0119/1.439, allocations: 26.22 MB / 1.136 GB, free: 227.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003461/1.442, allocations: 399.5 kB / 1.136 GB, free: 226.8 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004929/1.443, allocations: 235.9 kB / 1.136 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.001674/1.445, allocations: 0.7776 MB / 1.137 GB, free: 225.7 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001347/1.446, allocations: 474.3 kB / 1.137 GB, free: 225.3 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008973/1.455, allocations: 5.982 MB / 1.143 GB, free: 219.2 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.509e-05/1.455, allocations: 15.94 kB / 1.143 GB, free: 219.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/1.455, allocations: 11.88 kB / 1.143 GB, free: 219.2 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009539/1.456, allocations: 0.5493 MB / 1.144 GB, free: 218.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006512/1.457, allocations: 83.91 kB / 1.144 GB, free: 218.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002608/1.459, allocations: 163.5 kB / 1.144 GB, free: 218.4 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004401/1.46, allocations: 289.8 kB / 1.144 GB, free: 218.1 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01135/1.471, allocations: 5.639 MB / 1.15 GB, free: 212.5 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008502/1.48, allocations: 6.696 MB / 1.156 GB, free: 205.7 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002124/1.482, allocations: 1.714 MB / 1.158 GB, free: 204 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002643/1.484, allocations: 2.311 MB / 1.16 GB, free: 201.7 MB / 0.7637 GB Notification: Performance of Backend: time 7.41e-07/1.484, allocations: 0 / 1.16 GB, free: 201.7 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01334/1.498, allocations: 7.626 MB / 1.168 GB, free: 194.5 MB / 0.7637 GB Notification: Performance of SimCode: time 0.01423/1.512, allocations: 11.43 MB / 1.179 GB, free: 183.1 MB / 0.7637 GB Notification: Performance of Templates: time 0.1397/1.652, allocations: 113.9 MB / 1.29 GB, free: 69.83 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