Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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_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_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.00736/0.00736, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.001524/0.001524, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6594/0.6594, allocations: 91.18 MB / 381.7 MB, free: 9.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 75.88 kB / 0.5168 GB, free: 9.027 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.131, allocations: 67.7 MB / 0.5829 GB, free: 5.25 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.342/0.473, allocations: 76.52 MB / 0.6577 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01395/0.487, allocations: 10.11 MB / 0.6676 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00206/0.4891, allocations: 66.91 kB / 0.6676 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002088/0.4912, allocations: 0.6841 MB / 0.6683 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01044/0.5017, allocations: 2.964 MB / 0.6712 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006237/0.508, allocations: 1.464 MB / 0.6726 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004797/0.5128, allocations: 2.25 MB / 0.6748 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/0.514, allocations: 0.5352 MB / 0.6753 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01075/0.5248, allocations: 3.919 MB / 0.6792 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002328/0.5272, allocations: 0.8982 MB / 0.68 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003574/0.5276, allocations: 136 kB / 0.6802 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01153/0.5391, allocations: 4.31 MB / 0.6844 GB, free: 312 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006931/0.5398, allocations: 346.7 kB / 0.6847 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001484/0.5413, allocations: 0.8004 MB / 0.6855 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00755/0.5489, allocations: 2.804 MB / 0.6882 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5489, allocations: 0 / 0.6882 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.243e-06/0.549, allocations: 0 / 0.6882 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.723e-05/0.549, allocations: 0 / 0.6882 GB, free: 12.35 MB / 0.5294 GB 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.004026/0.553, allocations: 2.217 MB / 0.6904 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.5531, allocations: 8.031 kB / 0.6904 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001954/0.555, allocations: 318.2 kB / 0.6907 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/0.5567, allocations: 1.061 MB / 0.6917 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-05/0.5568, allocations: 86.25 kB / 0.6918 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/0.557, allocations: 123.9 kB / 0.6919 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002531/0.5595, allocations: 1.302 MB / 0.6932 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.5596, allocations: 0 / 0.6932 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.5597, allocations: 48 kB / 0.6933 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.092e-05/0.5597, allocations: 46.25 kB / 0.6933 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/0.562, allocations: 1.07 MB / 0.6943 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0074/0.5694, allocations: 5.525 MB / 0.6997 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/0.5716, allocations: 1.082 MB / 0.7008 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009848/0.5726, allocations: 0.5615 MB / 0.7013 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001623/0.5742, allocations: 2.42 MB / 0.7037 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.5743, allocations: 47.55 kB / 0.7038 GB, free: 11.24 MB / 0.545 GB Notification: Performance of pre-optimization done (n=100): time 2.926e-06/0.5743, allocations: 0 / 0.7038 GB, free: 11.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=103): time 0.008026/0.5823, allocations: 3.693 MB / 0.7074 GB, free: 7.383 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.5824, allocations: 64.39 kB / 0.7074 GB, free: 7.309 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.5836, allocations: 0.9953 MB / 0.7084 GB, free: 6.305 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.791e-05/0.5837, allocations: 53.7 kB / 0.7084 GB, free: 6.246 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004569/0.5841, allocations: 0.6107 MB / 0.709 GB, free: 5.629 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002768/0.5844, allocations: 366.7 kB / 0.7094 GB, free: 5.266 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002978/0.5847, allocations: 186.9 kB / 0.7096 GB, free: 5.078 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5849, allocations: 349.9 kB / 0.7099 GB, free: 4.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007645/0.5856, allocations: 386.4 kB / 0.7103 GB, free: 4.352 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008993/0.5866, allocations: 0.5339 MB / 0.7108 GB, free: 3.77 MB / 0.545 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.002082/0.5886, allocations: 1.226 MB / 0.712 GB, free: 2.445 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.5887, allocations: 3.938 kB / 0.712 GB, free: 2.441 MB / 0.545 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002789/0.5915, allocations: 1.388 MB / 0.7133 GB, free: 1.031 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.5915, allocations: 5.719 kB / 0.7134 GB, free: 1.027 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.5915, allocations: 4 kB / 0.7134 GB, free: 1.023 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007405/0.5923, allocations: 242.3 kB / 0.7136 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009127/0.5932, allocations: 219.7 kB / 0.7138 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005345/0.5985, allocations: 5.745 MB / 0.7194 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000796/0.5994, allocations: 43.91 kB / 0.7195 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.5995, allocations: 51.97 kB / 0.7195 GB, free: 10.3 MB / 0.5606 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.0005449/0.6, allocations: 312.5 kB / 0.7198 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/0.6003, allocations: 134.5 kB / 0.7199 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003123/0.6034, allocations: 1.549 MB / 0.7214 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.6034, allocations: 15.94 kB / 0.7215 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.6034, allocations: 8 kB / 0.7215 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.6034, allocations: 7.969 kB / 0.7215 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005746/0.6092, allocations: 3.852 MB / 0.7252 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.6092, allocations: 4.344 kB / 0.7252 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008358/0.6101, allocations: 191.8 kB / 0.7254 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007077/0.6108, allocations: 264.7 kB / 0.7257 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.024e-05/0.6109, allocations: 39.97 kB / 0.7257 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006474/0.6174, allocations: 5.751 MB / 0.7313 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.6174, allocations: 4 kB / 0.7313 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005575/0.623, allocations: 1.998 MB / 0.7333 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005364/0.6236, allocations: 203.3 kB / 0.7335 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002276/0.6238, allocations: 28 kB / 0.7335 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.6249, allocations: 51.91 kB / 0.7335 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003354/0.6252, allocations: 92.8 kB / 0.7336 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/0.6254, allocations: 47.97 kB / 0.7337 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001347/0.6267, allocations: 0.6758 MB / 0.7343 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.31e-07/0.6268, allocations: 3.938 kB / 0.7343 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002476/0.6292, allocations: 0.5037 MB / 0.7348 GB, free: 9.746 MB / 0.5762 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.00159/0.6309, allocations: 0.563 MB / 0.7354 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004041/0.6349, allocations: 1.465 MB / 0.7368 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.6349, allocations: 0 / 0.7368 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002578/0.6375, allocations: 1.03 MB / 0.7378 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/0.6399, allocations: 377 kB / 0.7382 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006619/0.6465, allocations: 3.018 MB / 0.7411 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009579/0.6475, allocations: 1.218 MB / 0.7423 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001545/0.649, allocations: 346 kB / 0.7427 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005675/0.6496, allocations: 135.3 kB / 0.7428 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of SimCode: time 9.92e-07/0.6496, allocations: 0 / 0.7428 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of Templates: time 0.04607/0.6957, allocations: 25.45 MB / 0.7676 GB, free: 8.234 MB / 0.6075 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.makefile (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConductionElement_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches