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.001892/0.001892, allocations: 108 kB / 15.6 MB, free: 132 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.003185/0.003185, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.539/1.539, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6485/0.6485, allocations: 91.19 MB / 381.6 MB, free: 9.422 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002797/0.002797, allocations: 78.42 kB / 460.4 MB, free: 23.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1337, allocations: 67.69 MB / 0.5157 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.4021/0.5358, allocations: 76.51 MB / 0.5904 GB, free: 5.906 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01214/0.548, allocations: 10.12 MB / 0.6003 GB, free: 5.82 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/0.5498, allocations: 72.16 kB / 0.6004 GB, free: 5.816 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.5517, allocations: 0.6882 MB / 0.6011 GB, free: 5.816 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009422/0.5612, allocations: 2.917 MB / 0.6039 GB, free: 5.801 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004207/0.5655, allocations: 1.455 MB / 0.6053 GB, free: 5.789 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004004/0.5695, allocations: 2.22 MB / 0.6075 GB, free: 5.785 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.5706, allocations: 0.5458 MB / 0.608 GB, free: 21.64 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007776/0.5784, allocations: 3.877 MB / 0.6118 GB, free: 21.47 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/0.5802, allocations: 0.8962 MB / 0.6127 GB, free: 21.27 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002835/0.5805, allocations: 134.2 kB / 0.6128 GB, free: 21.27 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009914/0.5904, allocations: 4.271 MB / 0.617 GB, free: 21.14 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006025/0.591, allocations: 344.2 kB / 0.6173 GB, free: 21.08 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001985/0.593, allocations: 0.8076 MB / 0.6181 GB, free: 20.83 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007858/0.6009, allocations: 2.742 MB / 0.6208 GB, free: 20.42 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.6009, allocations: 4.438 kB / 0.6208 GB, free: 20.42 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6009, allocations: 4 kB / 0.6208 GB, free: 20.42 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.882e-05/0.601, allocations: 0 / 0.6208 GB, free: 20.42 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.005695/0.6067, allocations: 2.209 MB / 0.6229 GB, free: 19.35 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.6067, allocations: 9.688 kB / 0.623 GB, free: 19.35 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002689/0.607, allocations: 171.1 kB / 0.6231 GB, free: 19.31 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002194/0.6092, allocations: 315.4 kB / 0.6234 GB, free: 19.21 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/0.6113, allocations: 0.9732 MB / 0.6244 GB, free: 18.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.696e-05/0.6114, allocations: 88.53 kB / 0.6245 GB, free: 18.82 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002037/0.6116, allocations: 127.1 kB / 0.6246 GB, free: 18.81 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002668/0.6143, allocations: 1.294 MB / 0.6258 GB, free: 18.67 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.6143, allocations: 0 / 0.6258 GB, free: 18.67 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.6144, allocations: 51.42 kB / 0.6259 GB, free: 18.66 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-05/0.6145, allocations: 60 kB / 0.6259 GB, free: 18.65 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002342/0.6168, allocations: 1.063 MB / 0.627 GB, free: 18.51 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00796/0.6248, allocations: 5.563 MB / 0.6324 GB, free: 14.97 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/0.6271, allocations: 1.088 MB / 0.6335 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.6281, allocations: 0.548 MB / 0.634 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001896/0.63, allocations: 2.422 MB / 0.6364 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.6301, allocations: 42.34 kB / 0.6364 GB, free: 11.07 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 2.925e-06/0.6301, allocations: 0 / 0.6364 GB, free: 11.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.008661/0.6388, allocations: 3.698 MB / 0.64 GB, free: 8.688 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.6388, allocations: 59.91 kB / 0.6401 GB, free: 8.621 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.6403, allocations: 0.9953 MB / 0.6411 GB, free: 8.078 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.864e-05/0.6404, allocations: 51.45 kB / 0.6411 GB, free: 8.027 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005326/0.6409, allocations: 0.6093 MB / 0.6417 GB, free: 7.488 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002988/0.6412, allocations: 367.9 kB / 0.6421 GB, free: 7.172 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002875/0.6415, allocations: 187.7 kB / 0.6422 GB, free: 7.062 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.6417, allocations: 356.4 kB / 0.6426 GB, free: 6.719 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008245/0.6425, allocations: 382.8 kB / 0.6429 GB, free: 6.531 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009877/0.6435, allocations: 0.5334 MB / 0.6435 GB, free: 6.18 MB / 478.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.002163/0.6457, allocations: 1.221 MB / 0.6447 GB, free: 5.32 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.6457, allocations: 3.031 kB / 0.6447 GB, free: 5.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003012/0.6487, allocations: 1.386 MB / 0.646 GB, free: 4.617 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.6488, allocations: 5.438 kB / 0.646 GB, free: 4.617 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.6488, allocations: 8.938 kB / 0.646 GB, free: 4.613 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008021/0.6496, allocations: 241.2 kB / 0.6463 GB, free: 4.488 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009219/0.6505, allocations: 224 kB / 0.6465 GB, free: 4.441 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006224/0.6568, allocations: 5.761 MB / 0.6521 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.6581, allocations: 40.11 kB / 0.6521 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002316/0.6583, allocations: 45.58 kB / 0.6522 GB, free: 15.06 MB / 494.1 MB 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.000873/0.6592, allocations: 308.4 kB / 0.6525 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003811/0.6596, allocations: 133.8 kB / 0.6526 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003827/0.6634, allocations: 1.549 MB / 0.6541 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.6635, allocations: 16.25 kB / 0.6541 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-05/0.6635, allocations: 4.656 kB / 0.6541 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.6635, allocations: 3.984 kB / 0.6541 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00738/0.6709, allocations: 3.87 MB / 0.6579 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.6709, allocations: 6.75 kB / 0.6579 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008857/0.6718, allocations: 197.9 kB / 0.6581 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007913/0.6726, allocations: 256.7 kB / 0.6584 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/0.6728, allocations: 39.97 kB / 0.6584 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006129/0.6789, allocations: 5.759 MB / 0.664 GB, free: 4.438 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6789, allocations: 7.938 kB / 0.664 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004292/0.6832, allocations: 1.999 MB / 0.666 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004772/0.6837, allocations: 199.4 kB / 0.6662 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002636/0.684, allocations: 24 kB / 0.6662 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008276/0.6849, allocations: 51.95 kB / 0.6662 GB, free: 2.094 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002434/0.6851, allocations: 92.75 kB / 0.6663 GB, free: 2.004 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/0.6852, allocations: 55.95 kB / 0.6664 GB, free: 1.949 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001054/0.6863, allocations: 0.668 MB / 0.667 GB, free: 1.277 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6863, allocations: 0 / 0.667 GB, free: 1.277 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00201/0.6883, allocations: 0.5076 MB / 0.6675 GB, free: 0.7695 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.005426/0.6938, allocations: 3.006 MB / 0.6705 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003826/0.6976, allocations: 1.579 MB / 0.672 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.6976, allocations: 4 kB / 0.672 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001902/0.6995, allocations: 1.027 MB / 0.673 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/0.7017, allocations: 377.4 kB / 0.6734 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02021/0.722, allocations: 11.73 MB / 0.6848 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009915/0.723, allocations: 1.21 MB / 0.686 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001227/0.7242, allocations: 360.2 kB / 0.6863 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008861/0.7251, allocations: 0.5929 MB / 0.6869 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of SimCode: time 5.91e-07/0.7252, allocations: 0 / 0.6869 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.142/1.867, allocations: 38.6 MB / 0.7246 GB, free: 6.023 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.73/17.6, allocations: 7.984 kB / 0.7246 GB, free: 6.016 MB / 0.545 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