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: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConductionElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_dev_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.001413/0.001413, 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.001571/0.001571, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.593/1.593, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8846/0.8846, allocations: 93.72 MB / 384.1 MB, free: 6.992 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002476/0.002477, allocations: 88.95 kB / 463.5 MB, free: 22.03 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1669, allocations: 68.27 MB / 0.5193 GB, free: 6.922 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.4371/0.6041, allocations: 76.54 MB / 0.5941 GB, free: 5.871 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01564/0.6198, allocations: 10.15 MB / 0.604 GB, free: 5.789 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002277/0.6221, allocations: 72.19 kB / 0.604 GB, free: 5.789 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002713/0.6248, allocations: 0.695 MB / 0.6047 GB, free: 5.789 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01036/0.6353, allocations: 2.945 MB / 0.6076 GB, free: 5.773 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004483/0.6398, allocations: 1.466 MB / 0.609 GB, free: 5.738 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003541/0.6433, allocations: 2.296 MB / 0.6113 GB, free: 5.738 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007052/0.644, allocations: 0.5474 MB / 0.6118 GB, free: 5.586 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007289/0.6513, allocations: 3.92 MB / 0.6156 GB, free: 5.355 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001137/0.6525, allocations: 0.8894 MB / 0.6165 GB, free: 5.16 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000289/0.6528, allocations: 135.2 kB / 0.6166 GB, free: 5.16 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009814/0.6626, allocations: 4.275 MB / 0.6208 GB, free: 5.027 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005687/0.6632, allocations: 346.6 kB / 0.6211 GB, free: 4.965 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001022/0.6643, allocations: 0.8163 MB / 0.6219 GB, free: 4.707 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005867/0.6701, allocations: 2.763 MB / 0.6246 GB, free: 4.285 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.6702, allocations: 0.7031 kB / 0.6246 GB, free: 4.285 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.6702, allocations: 1.438 kB / 0.6246 GB, free: 4.285 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.238e-05/0.6702, allocations: 3.938 kB / 0.6246 GB, free: 4.281 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.005886/0.6761, allocations: 2.225 MB / 0.6268 GB, free: 19.2 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/0.6762, allocations: 9.562 kB / 0.6268 GB, free: 19.2 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002447/0.6764, allocations: 172.8 kB / 0.627 GB, free: 19.16 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002174/0.6786, allocations: 322.1 kB / 0.6273 GB, free: 19.06 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/0.6804, allocations: 1.004 MB / 0.6283 GB, free: 18.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.011e-05/0.6805, allocations: 86.16 kB / 0.6284 GB, free: 18.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/0.6807, allocations: 133.9 kB / 0.6285 GB, free: 18.49 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002604/0.6833, allocations: 1.291 MB / 0.6297 GB, free: 18.09 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.6834, allocations: 3.938 kB / 0.6297 GB, free: 18.09 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.6835, allocations: 46.41 kB / 0.6298 GB, free: 18.09 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.829e-05/0.6835, allocations: 54.14 kB / 0.6298 GB, free: 18.08 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002279/0.6858, allocations: 1.065 MB / 0.6309 GB, free: 17.88 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007603/0.6934, allocations: 5.566 MB / 0.6363 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/0.6955, allocations: 1.078 MB / 0.6374 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/0.6966, allocations: 0.5559 MB / 0.6379 GB, free: 12.4 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002143/0.6987, allocations: 2.41 MB / 0.6403 GB, free: 9.539 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.6988, allocations: 40.53 kB / 0.6403 GB, free: 9.496 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 6.812e-06/0.6988, allocations: 0 / 0.6403 GB, free: 9.496 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.009311/0.7081, allocations: 3.713 MB / 0.6439 GB, free: 7.07 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.7082, allocations: 63.25 kB / 0.644 GB, free: 7.004 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/0.7098, allocations: 1.027 MB / 0.645 GB, free: 6.445 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.879e-05/0.7099, allocations: 46.55 kB / 0.645 GB, free: 6.398 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006301/0.7105, allocations: 0.6302 MB / 0.6457 GB, free: 5.84 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000365/0.7109, allocations: 365.1 kB / 0.646 GB, free: 5.527 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005102/0.7114, allocations: 190.7 kB / 0.6462 GB, free: 5.414 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.7116, allocations: 352.3 kB / 0.6465 GB, free: 5.074 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008149/0.7124, allocations: 387.7 kB / 0.6469 GB, free: 4.883 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.7135, allocations: 0.5382 MB / 0.6474 GB, free: 4.523 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.002406/0.7159, allocations: 1.227 MB / 0.6486 GB, free: 3.645 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.7159, allocations: 2.906 kB / 0.6486 GB, free: 3.645 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002996/0.7189, allocations: 1.392 MB / 0.65 GB, free: 2.902 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.7189, allocations: 7.938 kB / 0.65 GB, free: 2.902 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.719, allocations: 6.922 kB / 0.65 GB, free: 2.898 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000773/0.7197, allocations: 235.6 kB / 0.6502 GB, free: 2.777 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.7208, allocations: 221.6 kB / 0.6504 GB, free: 2.719 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007239/0.7281, allocations: 5.75 MB / 0.656 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009109/0.729, allocations: 43.77 kB / 0.6561 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000309/0.7293, allocations: 49 kB / 0.6561 GB, free: 13.32 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.0007675/0.7301, allocations: 301.4 kB / 0.6564 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002625/0.7304, allocations: 142.3 kB / 0.6566 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003805/0.7342, allocations: 1.551 MB / 0.6581 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.794e-05/0.7343, allocations: 15.06 kB / 0.6581 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-05/0.7343, allocations: 4.125 kB / 0.6581 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.36e-05/0.7344, allocations: 3.984 kB / 0.6581 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007139/0.7415, allocations: 3.888 MB / 0.6619 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.7416, allocations: 0 / 0.6619 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000898/0.7425, allocations: 204 kB / 0.6621 GB, free: 8.426 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000732/0.7432, allocations: 256.4 kB / 0.6623 GB, free: 8.168 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.495e-05/0.7433, allocations: 39.97 kB / 0.6624 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006299/0.7496, allocations: 5.763 MB / 0.668 GB, free: 1.953 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.7496, allocations: 0 / 0.668 GB, free: 1.953 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003906/0.7536, allocations: 1.989 MB / 0.6699 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003313/0.7539, allocations: 203.3 kB / 0.6701 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/0.7541, allocations: 31.94 kB / 0.6702 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006704/0.7548, allocations: 51.95 kB / 0.6702 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002104/0.755, allocations: 96.75 kB / 0.6703 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.7551, allocations: 51.95 kB / 0.6704 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009844/0.7561, allocations: 0.6847 MB / 0.671 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7561, allocations: 0 / 0.671 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001842/0.758, allocations: 0.4998 MB / 0.6715 GB, free: 14.27 MB / 0.4981 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.005431/0.7634, allocations: 3.023 MB / 0.6745 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003597/0.767, allocations: 1.585 MB / 0.676 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.767, allocations: 0 / 0.676 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001857/0.7689, allocations: 1.029 MB / 0.677 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/0.7706, allocations: 389.4 kB / 0.6774 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01967/0.7903, allocations: 11.88 MB / 0.689 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/0.7914, allocations: 1.226 MB / 0.6902 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001315/0.7927, allocations: 350.1 kB / 0.6905 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/0.7937, allocations: 0.6047 MB / 0.6911 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of SimCode: time 8.72e-07/0.7938, allocations: 0 / 0.6911 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/0.8961, allocations: 38.92 MB / 0.7291 GB, free: 2.996 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/13.1, allocations: 13.11 kB / 0.7291 GB, free: 2.992 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConductionElement_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConductionElement.fmu > 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