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.008117/0.008117, allocations: 102.5 kB / 15.73 MB, free: 6.035 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.002051/0.002051, allocations: 196.8 kB / 16.67 MB, free: 5.969 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6665/0.6665, allocations: 91.19 MB / 381.7 MB, free: 9.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 79.88 kB / 0.5164 GB, free: 9.527 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1282, allocations: 67.69 MB / 0.5825 GB, free: 5.758 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.3497/0.4779, allocations: 76.53 MB / 0.6572 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01325/0.4912, allocations: 10.1 MB / 0.6671 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/0.4929, allocations: 70.59 kB / 0.6671 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.4949, allocations: 0.6998 MB / 0.6678 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007806/0.5027, allocations: 2.916 MB / 0.6707 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004181/0.507, allocations: 1.455 MB / 0.6721 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003437/0.5104, allocations: 2.239 MB / 0.6743 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009396/0.5114, allocations: 0.5383 MB / 0.6748 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007489/0.5189, allocations: 3.905 MB / 0.6786 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.5205, allocations: 0.8905 MB / 0.6795 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004841/0.521, allocations: 136 kB / 0.6796 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008233/0.5293, allocations: 4.317 MB / 0.6838 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004691/0.5297, allocations: 346.6 kB / 0.6842 GB, free: 356 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001356/0.5311, allocations: 0.8043 MB / 0.6849 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005538/0.5367, allocations: 2.804 MB / 0.6877 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5367, allocations: 0 / 0.6877 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.522e-06/0.5367, allocations: 0 / 0.6877 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.181e-05/0.5368, allocations: 0 / 0.6877 GB, free: 12.73 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.004541/0.5413, allocations: 2.221 MB / 0.6898 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.5414, allocations: 8.031 kB / 0.6899 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002223/0.5416, allocations: 169.8 kB / 0.69 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002045/0.5436, allocations: 317.6 kB / 0.6903 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/0.5455, allocations: 1.061 MB / 0.6914 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.5456, allocations: 86.25 kB / 0.6914 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.5458, allocations: 127.9 kB / 0.6916 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002644/0.5485, allocations: 1.298 MB / 0.6928 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.5485, allocations: 0 / 0.6928 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.5486, allocations: 44 kB / 0.6929 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.267e-05/0.5487, allocations: 50.19 kB / 0.6929 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002417/0.5511, allocations: 1.063 MB / 0.694 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007753/0.5589, allocations: 5.533 MB / 0.6994 GB, free: 176 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/0.5611, allocations: 1.079 MB / 0.7004 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/0.5621, allocations: 0.5664 MB / 0.701 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00179/0.5639, allocations: 2.408 MB / 0.7033 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.564, allocations: 51.55 kB / 0.7034 GB, free: 11.44 MB / 0.545 GB Notification: Performance of pre-optimization done (n=100): time 2.745e-06/0.564, allocations: 0 / 0.7034 GB, free: 11.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=103): time 0.008267/0.5722, allocations: 3.693 MB / 0.707 GB, free: 7.586 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.5723, allocations: 68.34 kB / 0.707 GB, free: 7.508 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.5736, allocations: 0.9992 MB / 0.708 GB, free: 6.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.473e-05/0.5737, allocations: 41.7 kB / 0.7081 GB, free: 6.453 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004704/0.5742, allocations: 0.6146 MB / 0.7087 GB, free: 5.832 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002966/0.5745, allocations: 366.7 kB / 0.709 GB, free: 5.469 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003125/0.5748, allocations: 194.8 kB / 0.7092 GB, free: 5.273 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.575, allocations: 349.9 kB / 0.7095 GB, free: 4.926 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008135/0.5758, allocations: 386.4 kB / 0.7099 GB, free: 4.547 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008885/0.5767, allocations: 0.53 MB / 0.7104 GB, free: 3.969 MB / 0.545 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.002016/0.5787, allocations: 1.234 MB / 0.7116 GB, free: 2.637 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.5787, allocations: 4 kB / 0.7116 GB, free: 2.633 MB / 0.545 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002734/0.5815, allocations: 1.384 MB / 0.713 GB, free: 1.227 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.5815, allocations: 8 kB / 0.713 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.5815, allocations: 0 / 0.713 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000772/0.5823, allocations: 242.4 kB / 0.7132 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009082/0.5832, allocations: 219.7 kB / 0.7134 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005532/0.5888, allocations: 5.75 MB / 0.719 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007049/0.5895, allocations: 40.03 kB / 0.7191 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.5896, allocations: 51.97 kB / 0.7191 GB, free: 10.5 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.0005119/0.5901, allocations: 301.5 kB / 0.7194 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002572/0.5904, allocations: 134.3 kB / 0.7195 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003198/0.5936, allocations: 1.554 MB / 0.7211 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.5936, allocations: 11.94 kB / 0.7211 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.5936, allocations: 4 kB / 0.7211 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.5936, allocations: 11.97 kB / 0.7211 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00587/0.5995, allocations: 3.86 MB / 0.7249 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.5995, allocations: 4 kB / 0.7249 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008946/0.6004, allocations: 191.7 kB / 0.725 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007599/0.6012, allocations: 254.5 kB / 0.7253 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-05/0.6013, allocations: 43.97 kB / 0.7253 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005399/0.6067, allocations: 5.756 MB / 0.7309 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.6068, allocations: 4 kB / 0.7309 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003816/0.6106, allocations: 1.99 MB / 0.7329 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003415/0.6109, allocations: 199.3 kB / 0.7331 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/0.6111, allocations: 32 kB / 0.7331 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006919/0.6118, allocations: 47.95 kB / 0.7332 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/0.612, allocations: 92.75 kB / 0.7332 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.651e-05/0.6121, allocations: 48.08 kB / 0.7333 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009587/0.6131, allocations: 0.6797 MB / 0.734 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6131, allocations: 0 / 0.734 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001507/0.6146, allocations: 0.5114 MB / 0.7345 GB, free: 9.941 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.004967/0.6196, allocations: 2.999 MB / 0.7374 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003295/0.6229, allocations: 1.473 MB / 0.7388 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.6229, allocations: 4 kB / 0.7388 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001708/0.6247, allocations: 1.03 MB / 0.7398 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.6264, allocations: 370.4 kB / 0.7402 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01649/0.6429, allocations: 10.8 MB / 0.7507 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009492/0.6439, allocations: 1.21 MB / 0.7519 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00109/0.645, allocations: 355.5 kB / 0.7522 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000856/0.6459, allocations: 0.5891 MB / 0.7528 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of SimCode: time 8.31e-07/0.6459, allocations: 0 / 0.7528 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08123/0.7271, allocations: 39.68 MB / 0.7916 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/13.2, allocations: 14.75 kB / 0.7916 GB, free: 15.32 MB / 0.6387 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