Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.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: "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Processes_Tests_ConductionElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Processes_Tests_ConductionElement",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 192.7 kB / 16.53 MB, free: 6.699 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.661/1.661, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 1.129/1.129, allocations: 93.72 MB / 384.1 MB, free: 6.973 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002615/0.002615, allocations: 81.95 kB / 463.5 MB, free: 21.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2588, allocations: 68.27 MB / 0.5193 GB, free: 6.883 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.ConductionElement): time 0.7399/0.9988, allocations: 82.52 MB / 0.5999 GB, free: 5.84 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0131/1.012, allocations: 4.494 MB / 0.6043 GB, free: 5.766 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004738/1.017, allocations: 110 kB / 0.6044 GB, free: 5.766 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004854/1.022, allocations: 0.8448 MB / 0.6052 GB, free: 5.766 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01911/1.041, allocations: 3.402 MB / 0.6085 GB, free: 5.746 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01555/1.057, allocations: 3.549 MB / 0.612 GB, free: 5.641 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01228/1.069, allocations: 3.355 MB / 0.6153 GB, free: 5.281 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002882/1.072, allocations: 0.5622 MB / 0.6158 GB, free: 21.12 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02606/1.098, allocations: 8.086 MB / 0.6237 GB, free: 20.16 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0049/1.103, allocations: 1.164 MB / 0.6249 GB, free: 19.84 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009168/1.104, allocations: 143.3 kB / 0.625 GB, free: 19.84 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01458/1.119, allocations: 3.436 MB / 0.6284 GB, free: 19.04 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009767/1.12, allocations: 393.4 kB / 0.6287 GB, free: 18.89 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003044/1.123, allocations: 1.045 MB / 0.6297 GB, free: 18.46 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01383/1.136, allocations: 3.383 MB / 0.6331 GB, free: 17.11 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.03e-05/1.137, allocations: 3.438 kB / 0.6331 GB, free: 17.11 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.695e-06/1.137, allocations: 0 / 0.6331 GB, free: 17.11 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.026e-05/1.137, allocations: 0 / 0.6331 GB, free: 17.11 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.008534/1.145, allocations: 2.746 MB / 0.6357 GB, free: 15.2 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.182e-05/1.145, allocations: 19.31 kB / 0.6358 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004085/1.146, allocations: 221.1 kB / 0.636 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00311/1.149, allocations: 429.8 kB / 0.6364 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003751/1.153, allocations: 1.298 MB / 0.6376 GB, free: 13.85 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/1.153, allocations: 120.7 kB / 0.6378 GB, free: 13.8 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003166/1.153, allocations: 169.1 kB / 0.6379 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004425/1.158, allocations: 1.596 MB / 0.6395 GB, free: 12.67 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.729e-05/1.158, allocations: 10.38 kB / 0.6395 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/1.158, allocations: 64.12 kB / 0.6395 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.504e-05/1.158, allocations: 39.19 kB / 0.6396 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003257/1.161, allocations: 1.09 MB / 0.6406 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01972/1.181, allocations: 10.59 MB / 0.651 GB, free: 1.863 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003093/1.184, allocations: 1.021 MB / 0.652 GB, free: 1.379 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009467/1.185, allocations: 408.5 kB / 0.6524 GB, free: 1.18 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003571/1.189, allocations: 2.64 MB / 0.655 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.663e-05/1.189, allocations: 49.03 kB / 0.655 GB, free: 14.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=105): time 5.911e-06/1.189, allocations: 4 kB / 0.655 GB, free: 14.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=108): time 0.0154/1.204, allocations: 3.958 MB / 0.6589 GB, free: 11.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.985e-05/1.204, allocations: 64.28 kB / 0.6589 GB, free: 11.44 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003414/1.208, allocations: 1.649 MB / 0.6605 GB, free: 10.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001686/1.208, allocations: 45.7 kB / 0.6606 GB, free: 10.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001195/1.209, allocations: 0.943 MB / 0.6615 GB, free: 9.523 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006699/1.21, allocations: 395.6 kB / 0.6619 GB, free: 9.141 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005459/1.21, allocations: 251.4 kB / 0.6621 GB, free: 8.891 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000365/1.211, allocations: 353.9 kB / 0.6625 GB, free: 8.539 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/1.212, allocations: 411.8 kB / 0.6629 GB, free: 8.137 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/1.214, allocations: 0.6855 MB / 0.6635 GB, free: 7.348 MB / 494.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement5.deltaE_system = $START.conductionElement5.deltaE_system (0.0 = $START.conductionElement5.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: conductionElement3.deltaE_system = $START.conductionElement3.deltaE_system (0.0 = $START.conductionElement3.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: conductionElement1.deltaE_system = $START.conductionElement1.deltaE_system (0.0 = $START.conductionElement1.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.00344/1.217, allocations: 1.494 MB / 0.665 GB, free: 5.672 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.399e-05/1.217, allocations: 4 kB / 0.665 GB, free: 5.668 MB / 494.1 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.004446/1.222, allocations: 1.589 MB / 0.6665 GB, free: 4.051 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.86e-05/1.222, allocations: 12 kB / 0.6665 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.645e-05/1.222, allocations: 4 kB / 0.6666 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008843/1.223, allocations: 197.5 kB / 0.6667 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/1.224, allocations: 315.5 kB / 0.667 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01106/1.235, allocations: 8.736 MB / 0.6756 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/1.238, allocations: 59.95 kB / 0.6756 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004418/1.238, allocations: 63.98 kB / 0.6757 GB, free: 9.824 MB / 0.4981 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: conductionElement5.deltaE_system = $START.conductionElement5.deltaE_system conductionElement3.deltaE_system = $START.conductionElement3.deltaE_system conductionElement1.deltaE_system = $START.conductionElement1.deltaE_system conductionElement.deltaE_system = $START.conductionElement.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (156): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001411/1.239, allocations: 349.2 kB / 0.676 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001069/1.241, allocations: 209.4 kB / 0.6762 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005775/1.246, allocations: 1.693 MB / 0.6779 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.918e-05/1.246, allocations: 12 kB / 0.6779 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-05/1.246, allocations: 4 kB / 0.6779 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-05/1.246, allocations: 7.969 kB / 0.6779 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008911/1.255, allocations: 2.838 MB / 0.6807 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-05/1.255, allocations: 4 kB / 0.6807 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/1.257, allocations: 235.6 kB / 0.6809 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007805/1.258, allocations: 188.9 kB / 0.6811 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001552/1.258, allocations: 43.97 kB / 0.6811 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01204/1.27, allocations: 8.727 MB / 0.6896 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.209e-05/1.27, allocations: 3.938 kB / 0.6896 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006495/1.276, allocations: 1.954 MB / 0.6916 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/1.278, allocations: 258.4 kB / 0.6918 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007908/1.279, allocations: 24 kB / 0.6918 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/1.28, allocations: 47.95 kB / 0.6919 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004219/1.281, allocations: 108.8 kB / 0.692 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001846/1.281, allocations: 51.91 kB / 0.692 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003337/1.284, allocations: 1.085 MB / 0.6931 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.61e-07/1.284, allocations: 0 / 0.6931 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003881/1.288, allocations: 0.5468 MB / 0.6936 GB, free: 6.422 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 14 (conductionElement.rear.m_flow,conductionElement.h,conductionElement1.m_flow,conductionElement1.h,conductionElement2.rear.m_flow,conductionElement2.h,conductionElement2.deltaE_system,conductionElement3.rear.m_flow,conductionElement3.h,conductionElement4.rear.m_flow,conductionElement4.h,conductionElement4.deltaE_system,conductionElement5.rear.m_flow,conductionElement5.h) * 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 (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007956/1.296, allocations: 2.981 MB / 0.6965 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006191/1.302, allocations: 1.847 MB / 0.6983 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.931e-05/1.302, allocations: 8.188 kB / 0.6983 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002819/1.305, allocations: 1.267 MB / 0.6996 GB, free: 144 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004369/1.31, allocations: 424.9 kB / 0.7 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04746/1.357, allocations: 16.18 MB / 0.7158 GB, free: 14.12 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001875/1.359, allocations: 1.381 MB / 0.7171 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002254/1.361, allocations: 0.5664 MB / 0.7177 GB, free: 12.15 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001483/1.363, allocations: 0.8585 MB / 0.7185 GB, free: 11.29 MB / 0.545 GB Notification: Performance of SimCode: time 2.194e-06/1.363, allocations: 0 / 0.7185 GB, free: 11.29 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1763/1.539, allocations: 46.29 MB / 0.7637 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/14.41, allocations: 6.188 kB / 0.7637 GB, free: 13.48 MB / 0.5919 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.ConductionElement_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ThermofluidStream_dev_ThermofluidStream_Undirected_Processes_Tests_ConductionElement.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.ConductionElement_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.ConductionElement_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches