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.01027/0.01027, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.002413/0.002413, allocations: 187.4 kB / 16.67 MB, free: 5.465 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.506/1.506, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7589/0.7589, allocations: 93.69 MB / 384.2 MB, free: 6.91 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002507/0.002507, allocations: 84.16 kB / 0.5199 GB, free: 6.309 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1411, allocations: 68.26 MB / 0.5866 GB, free: 1.965 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.4299/0.5711, allocations: 76.56 MB / 0.6614 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01666/0.5878, allocations: 10.16 MB / 0.6713 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002348/0.5902, allocations: 74.81 kB / 0.6714 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002481/0.5927, allocations: 0.6916 MB / 0.672 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01126/0.604, allocations: 2.955 MB / 0.6749 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005366/0.6094, allocations: 1.466 MB / 0.6764 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005234/0.6147, allocations: 2.303 MB / 0.6786 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009974/0.6157, allocations: 0.53 MB / 0.6791 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008811/0.6245, allocations: 3.921 MB / 0.6829 GB, free: 336 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001962/0.6265, allocations: 0.9021 MB / 0.6838 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003129/0.6268, allocations: 136 kB / 0.684 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009661/0.6365, allocations: 4.305 MB / 0.6882 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006368/0.6372, allocations: 350.6 kB / 0.6885 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001456/0.6386, allocations: 0.8121 MB / 0.6893 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007081/0.6457, allocations: 2.834 MB / 0.6921 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.6458, allocations: 0 / 0.6921 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.805e-06/0.6458, allocations: 0 / 0.6921 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.654e-05/0.6458, allocations: 0 / 0.6921 GB, free: 6.973 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.004925/0.6507, allocations: 2.291 MB / 0.6943 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.6508, allocations: 16.03 kB / 0.6943 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002085/0.651, allocations: 173.4 kB / 0.6945 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002101/0.6531, allocations: 334.6 kB / 0.6948 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0021/0.6552, allocations: 1.109 MB / 0.6959 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-05/0.6553, allocations: 90.19 kB / 0.696 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/0.6556, allocations: 120 kB / 0.6961 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002777/0.6583, allocations: 1.306 MB / 0.6974 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.6584, allocations: 0 / 0.6974 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/0.6585, allocations: 51.94 kB / 0.6974 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.694e-05/0.6586, allocations: 42.25 kB / 0.6974 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002524/0.6611, allocations: 1.07 MB / 0.6985 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00839/0.6695, allocations: 5.544 MB / 0.7039 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/0.6718, allocations: 1.081 MB / 0.705 GB, free: 9.113 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/0.6729, allocations: 0.551 MB / 0.7055 GB, free: 8.562 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001978/0.6749, allocations: 2.42 MB / 0.7079 GB, free: 5.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/0.675, allocations: 43.56 kB / 0.7079 GB, free: 5.535 MB / 0.545 GB Notification: Performance of pre-optimization done (n=100): time 2.845e-06/0.675, allocations: 0 / 0.7079 GB, free: 5.535 MB / 0.545 GB Notification: Performance of matching and sorting (n=103): time 0.009022/0.684, allocations: 3.739 MB / 0.7116 GB, free: 1.633 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.6841, allocations: 64.41 kB / 0.7116 GB, free: 1.559 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/0.6856, allocations: 1.021 MB / 0.7126 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.155e-05/0.6857, allocations: 45.7 kB / 0.7127 GB, free: 492 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005665/0.6863, allocations: 0.6356 MB / 0.7133 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003651/0.6867, allocations: 392.6 kB / 0.7137 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003527/0.687, allocations: 190.9 kB / 0.7138 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.6872, allocations: 345.7 kB / 0.7142 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008812/0.6881, allocations: 390.4 kB / 0.7145 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.6892, allocations: 0.53 MB / 0.7151 GB, free: 13.96 MB / 0.5606 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.002266/0.6915, allocations: 1.219 MB / 0.7162 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.6915, allocations: 4 kB / 0.7162 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003142/0.6946, allocations: 1.397 MB / 0.7176 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.6947, allocations: 8 kB / 0.7176 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.6947, allocations: 7.938 kB / 0.7176 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008562/0.6955, allocations: 238.4 kB / 0.7179 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009546/0.6965, allocations: 231.6 kB / 0.7181 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006394/0.7029, allocations: 5.745 MB / 0.7237 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.704, allocations: 39.98 kB / 0.7237 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/0.7041, allocations: 47.97 kB / 0.7238 GB, free: 4.488 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.000645/0.7048, allocations: 302.2 kB / 0.7241 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002748/0.705, allocations: 151 kB / 0.7242 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003549/0.7086, allocations: 1.558 MB / 0.7257 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.7086, allocations: 11.94 kB / 0.7257 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.7087, allocations: 8 kB / 0.7257 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.7087, allocations: 11.97 kB / 0.7258 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006839/0.7155, allocations: 3.876 MB / 0.7295 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.7156, allocations: 0 / 0.7295 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009174/0.7165, allocations: 195.7 kB / 0.7297 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008097/0.7173, allocations: 262.6 kB / 0.73 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.7174, allocations: 39.97 kB / 0.73 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006492/0.7239, allocations: 5.759 MB / 0.7356 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.724, allocations: 7.938 kB / 0.7356 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004242/0.7282, allocations: 1.999 MB / 0.7376 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003966/0.7286, allocations: 208.2 kB / 0.7378 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.7288, allocations: 24 kB / 0.7378 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006602/0.7295, allocations: 55.95 kB / 0.7379 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00025/0.7297, allocations: 96.97 kB / 0.738 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.7298, allocations: 47.97 kB / 0.738 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001081/0.7309, allocations: 0.6847 MB / 0.7387 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3e-07/0.7309, allocations: 0 / 0.7387 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001789/0.7327, allocations: 0.5111 MB / 0.7392 GB, free: 3.852 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.005459/0.7382, allocations: 3.016 MB / 0.7421 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003125/0.7413, allocations: 1.488 MB / 0.7436 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/0.7414, allocations: 112 / 0.7436 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001887/0.7433, allocations: 1.026 MB / 0.7446 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/0.7451, allocations: 381 kB / 0.7449 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01814/0.7632, allocations: 10.98 MB / 0.7557 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/0.7643, allocations: 1.226 MB / 0.7569 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001135/0.7655, allocations: 354 kB / 0.7572 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008962/0.7664, allocations: 0.6008 MB / 0.7578 GB, free: 328 kB / 0.5919 GB Notification: Performance of SimCode: time 7.52e-07/0.7664, allocations: 4 kB / 0.7578 GB, free: 324 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09426/0.8607, allocations: 39.45 MB / 0.7963 GB, free: 9.238 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/14.92, allocations: 0 / 0.7963 GB, free: 9.238 MB / 0.6387 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