Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.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.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|conductionElement1.deltaE_system|conductionElement1.h|conductionElement1.inlet.m_flow|conductionElement2.h|conductionElement2.inlet.m_flow|conductionElement3.deltaE_system|conductionElement3.h|conductionElement4.h|sink.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement") translateModel(ThermofluidStream.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|conductionElement1.deltaE_system|conductionElement1.h|conductionElement1.inlet.m_flow|conductionElement2.h|conductionElement2.inlet.m_flow|conductionElement3.deltaE_system|conductionElement3.h|conductionElement4.h|sink.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 106.6 kB / 15.99 MB, free: 6.348 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.001939/0.00194, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.422/1.422, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8522/0.8522, allocations: 93.69 MB / 384.4 MB, free: 5.504 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 83.88 kB / 463.5 MB, free: 6.512 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1485, allocations: 68.26 MB / 0.5193 GB, free: 2.168 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.3103/0.4589, allocations: 77.16 MB / 0.5947 GB, free: 9.902 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01559/0.4745, allocations: 10.27 MB / 0.6047 GB, free: 2.566 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002311/0.4769, allocations: 87.53 kB / 0.6048 GB, free: 2.531 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002586/0.4795, allocations: 0.5961 MB / 0.6054 GB, free: 2.219 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009483/0.4891, allocations: 2.738 MB / 0.6081 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004443/0.4936, allocations: 1.353 MB / 0.6094 GB, free: 348 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003977/0.4975, allocations: 2.31 MB / 0.6117 GB, free: 14.98 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.4987, allocations: 0.5346 MB / 0.6122 GB, free: 14.73 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01061/0.5093, allocations: 4.323 MB / 0.6164 GB, free: 12.33 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001914/0.5112, allocations: 0.9021 MB / 0.6173 GB, free: 11.42 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000513/0.5118, allocations: 140 kB / 0.6174 GB, free: 11.29 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009646/0.5214, allocations: 4.796 MB / 0.6221 GB, free: 6.48 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007603/0.5222, allocations: 350.6 kB / 0.6224 GB, free: 6.137 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001761/0.524, allocations: 0.8159 MB / 0.6232 GB, free: 5.316 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00488/0.5289, allocations: 2.062 MB / 0.6252 GB, free: 3.25 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.5289, allocations: 0 / 0.6252 GB, free: 3.25 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5289, allocations: 0 / 0.6252 GB, free: 3.25 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.542e-05/0.529, allocations: 8 kB / 0.6252 GB, free: 3.242 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.00574/0.5348, allocations: 2.244 MB / 0.6274 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.5348, allocations: 8.031 kB / 0.6274 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002347/0.5372, allocations: 317.8 kB / 0.6277 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002241/0.5395, allocations: 0.9951 MB / 0.6287 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.5396, allocations: 82.25 kB / 0.6288 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000345/0.5399, allocations: 127.8 kB / 0.6289 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003356/0.5433, allocations: 1.302 MB / 0.6302 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.375e-05/0.5434, allocations: 0 / 0.6302 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/0.5435, allocations: 50.75 kB / 0.6302 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.453e-05/0.5436, allocations: 54.17 kB / 0.6303 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002636/0.5462, allocations: 1.067 MB / 0.6313 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009294/0.5555, allocations: 5.561 MB / 0.6368 GB, free: 6.879 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002421/0.558, allocations: 1.088 MB / 0.6378 GB, free: 5.742 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.5592, allocations: 0.5471 MB / 0.6384 GB, free: 5.195 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001998/0.5612, allocations: 2.416 MB / 0.6407 GB, free: 2.223 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.5613, allocations: 39.56 kB / 0.6408 GB, free: 2.176 MB / 494.1 MB Notification: Performance of pre-optimization done (n=100): time 3.567e-06/0.5613, allocations: 4 kB / 0.6408 GB, free: 2.172 MB / 494.1 MB Notification: Performance of matching and sorting (n=103): time 0.009447/0.5707, allocations: 3.709 MB / 0.6444 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.5708, allocations: 60.41 kB / 0.6444 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.5725, allocations: 1.029 MB / 0.6454 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/0.5726, allocations: 41.7 kB / 0.6455 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005761/0.5732, allocations: 0.6266 MB / 0.6461 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004119/0.5737, allocations: 366.5 kB / 0.6464 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000365/0.574, allocations: 190.9 kB / 0.6466 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.5742, allocations: 353.9 kB / 0.647 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008784/0.5751, allocations: 386.4 kB / 0.6473 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.5761, allocations: 0.5455 MB / 0.6479 GB, free: 10.64 MB / 0.4981 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement4.deltaE_system = $START.conductionElement4.deltaE_system (0.0 = $START.conductionElement4.deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement2.deltaE_system = $START.conductionElement2.deltaE_system (0.0 = $START.conductionElement2.deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = $START.conductionElement.deltaE_system (0.0 = $START.conductionElement.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.002266/0.5784, allocations: 1.22 MB / 0.6491 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.5784, allocations: 0 / 0.6491 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003054/0.5815, allocations: 1.392 MB / 0.6504 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.5815, allocations: 4 kB / 0.6504 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.5816, allocations: 5.375 kB / 0.6504 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000831/0.5824, allocations: 243 kB / 0.6507 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000913/0.5833, allocations: 219.7 kB / 0.6509 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006238/0.5896, allocations: 5.754 MB / 0.6565 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.5906, allocations: 51.92 kB / 0.6565 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002182/0.5909, allocations: 47.98 kB / 0.6566 GB, free: 1.184 MB / 0.4981 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: conductionElement4.deltaE_system = $START.conductionElement4.deltaE_system conductionElement2.deltaE_system = $START.conductionElement2.deltaE_system conductionElement.deltaE_system = $START.conductionElement.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,15,77.8%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00071/0.5916, allocations: 300.7 kB / 0.6569 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000379/0.592, allocations: 138.3 kB / 0.657 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003647/0.5956, allocations: 1.555 MB / 0.6585 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.5957, allocations: 12 kB / 0.6585 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/0.5957, allocations: 7.188 kB / 0.6585 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.5957, allocations: 7.984 kB / 0.6585 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006661/0.6024, allocations: 3.874 MB / 0.6623 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.6024, allocations: 12.22 kB / 0.6623 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009172/0.6033, allocations: 195.7 kB / 0.6625 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007949/0.6042, allocations: 254.4 kB / 0.6628 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.6043, allocations: 39.97 kB / 0.6628 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006248/0.6105, allocations: 5.76 MB / 0.6684 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.6106, allocations: 4 kB / 0.6684 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004584/0.6152, allocations: 1.996 MB / 0.6704 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004753/0.6157, allocations: 207.2 kB / 0.6706 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002664/0.616, allocations: 31.94 kB / 0.6706 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008121/0.6168, allocations: 55.95 kB / 0.6707 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002508/0.617, allocations: 92.8 kB / 0.6708 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.6172, allocations: 47.97 kB / 0.6708 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001176/0.6184, allocations: 0.6964 MB / 0.6715 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6184, allocations: 0 / 0.6715 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001926/0.6203, allocations: 0.5037 MB / 0.672 GB, free: 0.6016 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 12 (conductionElement.h,conductionElement1.inlet.m_flow,conductionElement1.h,conductionElement1.deltaE_system,conductionElement2.inlet.m_flow,conductionElement2.h,splitterX.splitterN.inlet.m_flow,conductionElement3.inlet.m_flow,conductionElement3.h,conductionElement3.deltaE_system,conductionElement4.h,flowResistance.inlet.m_flow) * 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 (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(4,14,75.0%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001346/0.6217, allocations: 0.5622 MB / 0.6725 GB, free: 80 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00389/0.6256, allocations: 1.579 MB / 0.6741 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.379e-05/0.6256, allocations: 4 kB / 0.6741 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002026/0.6276, allocations: 1.029 MB / 0.6751 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/0.6298, allocations: 388.8 kB / 0.6754 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006019/0.6359, allocations: 3.66 MB / 0.679 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/0.637, allocations: 1.222 MB / 0.6802 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006629/0.6377, allocations: 139.3 kB / 0.6803 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of SimCode: time 1.312e-06/0.6377, allocations: 0 / 0.6803 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of Templates: time 0.05529/0.693, allocations: 39.81 MB / 0.7192 GB, free: 364 kB / 0.5606 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConductionElement_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches