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: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConductionElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_ThermofluidStream_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.0009629/0.0009628, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.007468/0.007468, allocations: 170 kB / 16.27 MB, free: 6.652 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.179/1.179, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5884/0.5884, allocations: 89.65 MB / 381.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003406, allocations: 17.95 kB / 460.7 MB, free: 24.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1041, allocations: 68.82 MB / 0.5172 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.2836/0.3877, allocations: 76.62 MB / 0.592 GB, free: 5.836 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009968/0.3977, allocations: 10.11 MB / 0.6019 GB, free: 5.668 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008171/0.3985, allocations: 19.56 kB / 0.6019 GB, free: 5.668 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.3999, allocations: 0.5884 MB / 0.6025 GB, free: 5.664 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005481/0.4054, allocations: 2.559 MB / 0.605 GB, free: 5.523 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002955/0.4084, allocations: 1.326 MB / 0.6062 GB, free: 5.359 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002538/0.4109, allocations: 2.396 MB / 0.6086 GB, free: 4.902 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006192/0.4116, allocations: 461 kB / 0.609 GB, free: 4.789 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006237/0.4178, allocations: 3.954 MB / 0.6129 GB, free: 4.402 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.4189, allocations: 0.7594 MB / 0.6136 GB, free: 4.227 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.419, allocations: 63.16 kB / 0.6137 GB, free: 4.223 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006798/0.4258, allocations: 4.634 MB / 0.6182 GB, free: 2.945 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001838/0.426, allocations: 242 kB / 0.6184 GB, free: 2.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006881/0.4267, allocations: 0.6666 MB / 0.6191 GB, free: 18.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002902/0.4297, allocations: 2.478 MB / 0.6215 GB, free: 17.49 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.4297, allocations: 0 / 0.6215 GB, free: 17.49 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4297, allocations: 0 / 0.6215 GB, free: 17.49 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.4297, allocations: 0 / 0.6215 GB, free: 17.49 MB / 462.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.002822/0.4325, allocations: 1.737 MB / 0.6232 GB, free: 16.36 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.4326, allocations: 10 kB / 0.6232 GB, free: 16.36 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001616/0.4327, allocations: 171.5 kB / 0.6234 GB, free: 16.28 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/0.4344, allocations: 286.8 kB / 0.6237 GB, free: 16.17 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000738/0.4351, allocations: 0.6905 MB / 0.6243 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.411e-05/0.4352, allocations: 89.38 kB / 0.6244 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.4354, allocations: 123.7 kB / 0.6245 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002164/0.4375, allocations: 1.31 MB / 0.6258 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.4376, allocations: 0 / 0.6258 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.496e-05/0.4377, allocations: 56.31 kB / 0.6259 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.395e-05/0.4377, allocations: 44.72 kB / 0.6259 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002091/0.4398, allocations: 1.088 MB / 0.627 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006328/0.4461, allocations: 5.508 MB / 0.6324 GB, free: 9.762 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.448, allocations: 1.085 MB / 0.6334 GB, free: 9.055 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008886/0.4489, allocations: 0.5549 MB / 0.634 GB, free: 8.781 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001331/0.4502, allocations: 2.416 MB / 0.6363 GB, free: 5.91 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.4502, allocations: 51.25 kB / 0.6364 GB, free: 5.855 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 2.965e-06/0.4503, allocations: 0 / 0.6364 GB, free: 5.855 MB / 462.1 MB Notification: Performance of matching and sorting (n=103): time 0.007027/0.4573, allocations: 3.726 MB / 0.64 GB, free: 3.477 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.4573, allocations: 69.05 kB / 0.6401 GB, free: 3.406 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000794/0.4581, allocations: 0.7602 MB / 0.6408 GB, free: 2.98 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.775e-05/0.4582, allocations: 40.17 kB / 0.6408 GB, free: 2.938 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/0.4585, allocations: 0.5178 MB / 0.6414 GB, free: 2.477 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002604/0.4588, allocations: 361.7 kB / 0.6417 GB, free: 2.168 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.4589, allocations: 92.47 kB / 0.6418 GB, free: 2.102 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.4591, allocations: 347.4 kB / 0.6421 GB, free: 1.766 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007457/0.4598, allocations: 415.9 kB / 0.6425 GB, free: 1.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008218/0.4606, allocations: 0.566 MB / 0.6431 GB, free: 1.195 MB / 462.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: 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.001782/0.4624, allocations: 1.268 MB / 0.6443 GB, free: 192 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4624, allocations: 0 / 0.6443 GB, free: 192 kB / 462.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002455/0.4649, allocations: 1.416 MB / 0.6457 GB, free: 14.75 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.4649, allocations: 7.938 kB / 0.6457 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.4649, allocations: 4 kB / 0.6457 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006598/0.4656, allocations: 246.4 kB / 0.6459 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000836/0.4665, allocations: 239.7 kB / 0.6462 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004603/0.4711, allocations: 5.3 MB / 0.6513 GB, free: 8.562 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006432/0.4717, allocations: 47.98 kB / 0.6514 GB, free: 8.516 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.4718, allocations: 56.98 kB / 0.6514 GB, free: 8.461 MB / 478.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: 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 (114): * Single equations (assignments): 111 * 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 prepare postOptimizeDAE: time 0.0004423/0.4723, allocations: 285.6 kB / 0.6517 GB, free: 8.172 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.4724, allocations: 114.7 kB / 0.6518 GB, free: 8.059 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003049/0.4755, allocations: 1.543 MB / 0.6533 GB, free: 6.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.4755, allocations: 12 kB / 0.6533 GB, free: 6.488 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.4755, allocations: 8 kB / 0.6533 GB, free: 6.48 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.4755, allocations: 7.922 kB / 0.6534 GB, free: 6.473 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005143/0.4807, allocations: 3.829 MB / 0.6571 GB, free: 2.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.4807, allocations: 7.938 kB / 0.6571 GB, free: 2.332 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007849/0.4815, allocations: 192 kB / 0.6573 GB, free: 2.145 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006536/0.4822, allocations: 260.6 kB / 0.6575 GB, free: 1.883 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.763e-05/0.4823, allocations: 43.97 kB / 0.6576 GB, free: 1.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004511/0.4868, allocations: 5.31 MB / 0.6628 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/0.4868, allocations: 7.938 kB / 0.6628 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003206/0.49, allocations: 1.994 MB / 0.6647 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.4902, allocations: 179.8 kB / 0.6649 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.4904, allocations: 28 kB / 0.6649 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006197/0.491, allocations: 63.95 kB / 0.665 GB, free: 9.789 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.4912, allocations: 101 kB / 0.6651 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-05/0.4913, allocations: 47.97 kB / 0.6651 GB, free: 9.645 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005996/0.4919, allocations: 0.5224 MB / 0.6656 GB, free: 9.129 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4919, allocations: 0 / 0.6656 GB, free: 9.129 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001359/0.4933, allocations: 0.5037 MB / 0.6661 GB, free: 8.625 MB / 494.1 MB 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.004263/0.4975, allocations: 3.022 MB / 0.6691 GB, free: 5.562 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002541/0.5001, allocations: 1.533 MB / 0.6706 GB, free: 3.988 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5001, allocations: 3.938 kB / 0.6706 GB, free: 3.984 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001562/0.5017, allocations: 1.037 MB / 0.6716 GB, free: 2.914 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/0.5034, allocations: 331.8 kB / 0.6719 GB, free: 2.594 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/0.5176, allocations: 11.07 MB / 0.6827 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006275/0.5182, allocations: 1.125 MB / 0.6838 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008764/0.5191, allocations: 320.1 kB / 0.6841 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006455/0.5197, allocations: 499.1 kB / 0.6846 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.5197, allocations: 0 / 0.6846 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.144/3.663, allocations: 34.1 MB / 0.7179 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002848/3.664, allocations: 273.2 kB / 0.7182 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.243/7.907, allocations: 0 / 0.7182 GB, free: 3.043 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_ConductionElement_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConductionElement.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches