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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.295/1.295, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.8834/0.8834, allocations: 80.18 MB / 339.4 MB, free: 7.543 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.068e-06/4.068e-06, allocations: 0 / 0.4924 GB, free: 6.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.978e-05, allocations: 6.219 kB / 0.4924 GB, free: 6.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.07302/0.07305, allocations: 75.32 MB / 0.5659 GB, free: 12.93 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.009944/0.083, allocations: 4.983 MB / 0.5708 GB, free: 7.93 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001928/0.08493, allocations: 111.1 kB / 0.5709 GB, free: 7.82 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002127/0.08705, allocations: 0.6747 MB / 0.5716 GB, free: 7.141 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01061/0.09767, allocations: 3.221 MB / 0.5747 GB, free: 3.906 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005037/0.1027, allocations: 1.541 MB / 0.5762 GB, free: 2.359 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.00486/0.1076, allocations: 2.686 MB / 0.5788 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008501/0.1084, allocations: 327.7 kB / 0.5791 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008994/0.1174, allocations: 4.59 MB / 0.5836 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00228/0.1197, allocations: 0.7595 MB / 0.5844 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003135/0.12, allocations: 140 kB / 0.5845 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007595/0.1276, allocations: 4.261 MB / 0.5887 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002883/0.1279, allocations: 378.4 kB / 0.589 GB, free: 5.168 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0008582/0.1287, allocations: 0.5844 MB / 0.5896 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.006532/0.1353, allocations: 2.976 MB / 0.5925 GB, free: 1.598 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1353, allocations: 4 kB / 0.5925 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.175e-06/0.1353, allocations: 0 / 0.5925 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.516e-05/0.1353, allocations: 0 / 0.5925 GB, free: 1.594 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.004675/0.14, allocations: 2.251 MB / 0.5947 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.274e-05/0.1401, allocations: 13.47 kB / 0.5947 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002523/0.1403, allocations: 181.5 kB / 0.5949 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.1415, allocations: 330.6 kB / 0.5952 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/0.1432, allocations: 1.045 MB / 0.5962 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.1e-05/0.1432, allocations: 94.27 kB / 0.5963 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/0.1434, allocations: 131.9 kB / 0.5964 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002726/0.1461, allocations: 1.453 MB / 0.5979 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.1462, allocations: 3.938 kB / 0.5979 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-05/0.1462, allocations: 48 kB / 0.5979 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.196e-05/0.1463, allocations: 58.31 kB / 0.598 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.148, allocations: 1.086 MB / 0.599 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006035/0.154, allocations: 4.211 MB / 0.6031 GB, free: 6.398 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.1555, allocations: 0.7969 MB / 0.6039 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007933/0.1563, allocations: 0.5197 MB / 0.6044 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003392/0.1566, allocations: 172.9 kB / 0.6046 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.1567, allocations: 43.56 kB / 0.6046 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=100): time 2.565e-06/0.1567, allocations: 0 / 0.6046 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of matching and sorting (n=103): time 0.006529/0.1632, allocations: 3.208 MB / 0.6078 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.1632, allocations: 68.34 kB / 0.6078 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.1645, allocations: 1.062 MB / 0.6089 GB, free: 464 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.425e-05/0.1646, allocations: 49.69 kB / 0.6089 GB, free: 408 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005563/0.1652, allocations: 0.6666 MB / 0.6096 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.1654, allocations: 380.6 kB / 0.6099 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.1656, allocations: 202.9 kB / 0.6101 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002374/0.1658, allocations: 341.9 kB / 0.6104 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005525/0.1664, allocations: 402.4 kB / 0.6108 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007806/0.1672, allocations: 0.5504 MB / 0.6114 GB, free: 13.81 MB / 0.5261 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.002066/0.1692, allocations: 1.022 MB / 0.6124 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1692, allocations: 0 / 0.6124 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002005/0.1712, allocations: 1.424 MB / 0.6138 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.1713, allocations: 11.94 kB / 0.6138 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.1713, allocations: 4 kB / 0.6138 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005303/0.1718, allocations: 238.5 kB / 0.614 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006271/0.1724, allocations: 239.6 kB / 0.6142 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005017/0.1775, allocations: 5.406 MB / 0.6195 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.1779, allocations: 44.02 kB / 0.6195 GB, free: 5.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.643e-05/0.178, allocations: 51.97 kB / 0.6196 GB, free: 4.969 MB / 0.5261 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: 16 * 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 (115): * Single equations (assignments): 112 * 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.0005111/0.1785, allocations: 304.1 kB / 0.6199 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.1787, allocations: 159 kB / 0.62 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002603/0.1813, allocations: 1.542 MB / 0.6215 GB, free: 2.945 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.1813, allocations: 12 kB / 0.6216 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.1813, allocations: 8 kB / 0.6216 GB, free: 2.926 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.1814, allocations: 7.969 kB / 0.6216 GB, free: 2.918 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004601/0.186, allocations: 2.764 MB / 0.6243 GB, free: 56 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.186, allocations: 0 / 0.6243 GB, free: 56 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005192/0.1865, allocations: 195.8 kB / 0.6245 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005676/0.187, allocations: 257.1 kB / 0.6247 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.1872, allocations: 39.97 kB / 0.6247 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00491/0.1921, allocations: 5.387 MB / 0.63 GB, free: 9.832 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1921, allocations: 4 kB / 0.63 GB, free: 9.828 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002896/0.195, allocations: 1.992 MB / 0.6319 GB, free: 7.781 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003345/0.1953, allocations: 135 kB / 0.6321 GB, free: 7.648 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.1954, allocations: 27.98 kB / 0.6321 GB, free: 7.621 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/0.1958, allocations: 51.97 kB / 0.6322 GB, free: 7.57 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002706/0.1961, allocations: 96.75 kB / 0.6322 GB, free: 7.473 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.05e-05/0.1961, allocations: 47.97 kB / 0.6323 GB, free: 7.426 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007824/0.1969, allocations: 0.7054 MB / 0.633 GB, free: 6.719 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.1969, allocations: 0 / 0.633 GB, free: 6.719 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001923/0.1988, allocations: 0.5501 MB / 0.6335 GB, free: 6.168 MB / 0.5417 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.004907/0.2037, allocations: 3.013 MB / 0.6365 GB, free: 3.082 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002433/0.2062, allocations: 1.438 MB / 0.6379 GB, free: 1.609 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.2062, allocations: 4 kB / 0.6379 GB, free: 1.605 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.2073, allocations: 0.9944 MB / 0.6388 GB, free: 0.5703 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/0.2094, allocations: 0.5901 MB / 0.6394 GB, free: 0 / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4497/0.6591, allocations: 10.9 MB / 0.6501 GB, free: 136.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009327/0.66, allocations: 0.6584 MB / 0.6507 GB, free: 136.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001628/0.6616, allocations: 356.8 kB / 0.651 GB, free: 136.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006804/0.6623, allocations: 0.6131 MB / 0.6516 GB, free: 135.9 MB / 0.5417 GB Notification: Performance of SimCode: time 2.375e-06/0.6623, allocations: 0 / 0.6516 GB, free: 135.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09243/0.7547, allocations: 47.15 MB / 0.6977 GB, free: 96.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.13, allocations: 2.969 kB / 0.6977 GB, free: 96.5 MB / 0.5417 GB " [Timeout remaining time 648] (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 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConductionElement.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConductionElement_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.12844549305737]