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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 109.3 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.8255/0.8255, allocations: 94.61 MB / 397.3 MB, free: 264 kB / 302.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002476/0.002476, allocations: 90.19 kB / 0.5416 GB, free: 42.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1481, allocations: 71.86 MB / 0.6118 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.1018/0.2499, allocations: 76.98 MB / 0.687 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01638/0.2663, allocations: 10.2 MB / 0.6969 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001725/0.268, allocations: 71.62 kB / 0.697 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002534/0.2706, allocations: 0.7026 MB / 0.6977 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.009555/0.2801, allocations: 2.99 MB / 0.7006 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005154/0.2853, allocations: 1.475 MB / 0.702 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004791/0.2901, allocations: 2.319 MB / 0.7043 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.2911, allocations: 355.2 kB / 0.7046 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008434/0.2995, allocations: 3.974 MB / 0.7085 GB, free: 6.648 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001795/0.3013, allocations: 0.9061 MB / 0.7094 GB, free: 5.738 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0006738/0.302, allocations: 136 kB / 0.7095 GB, free: 5.605 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009286/0.3113, allocations: 4.344 MB / 0.7138 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006517/0.3119, allocations: 350.5 kB / 0.7141 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001701/0.3136, allocations: 0.8237 MB / 0.7149 GB, free: 84 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008088/0.3217, allocations: 2.83 MB / 0.7177 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3217, allocations: 3.938 kB / 0.7177 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3217, allocations: 4 kB / 0.7177 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.916e-05/0.3218, allocations: 0 / 0.7177 GB, free: 13.23 MB / 0.5606 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.006323/0.3281, allocations: 2.303 MB / 0.7199 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.228e-05/0.3282, allocations: 8.031 kB / 0.7199 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003278/0.3285, allocations: 173.5 kB / 0.7201 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002271/0.3308, allocations: 330.6 kB / 0.7204 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/0.3334, allocations: 1.117 MB / 0.7215 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.515e-05/0.3334, allocations: 86.25 kB / 0.7216 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003925/0.3338, allocations: 124 kB / 0.7217 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003027/0.3369, allocations: 1.302 MB / 0.723 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/0.3369, allocations: 3.938 kB / 0.723 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.337, allocations: 47.92 kB / 0.723 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-05/0.3371, allocations: 54.23 kB / 0.7231 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002682/0.3397, allocations: 1.067 MB / 0.7241 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009653/0.3494, allocations: 5.536 MB / 0.7295 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002457/0.3518, allocations: 1.046 MB / 0.7305 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/0.3529, allocations: 0.508 MB / 0.731 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002102/0.355, allocations: 2.416 MB / 0.7334 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.915e-05/0.3551, allocations: 43.56 kB / 0.7334 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=100): time 1.249e-05/0.3551, allocations: 0 / 0.7334 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=103): time 0.009558/0.3646, allocations: 3.719 MB / 0.7371 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.3647, allocations: 64.39 kB / 0.7371 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/0.3663, allocations: 1.021 MB / 0.7381 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.708e-05/0.3664, allocations: 41.7 kB / 0.7382 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006301/0.367, allocations: 0.6471 MB / 0.7388 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000358/0.3674, allocations: 384.7 kB / 0.7392 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003477/0.3677, allocations: 190.9 kB / 0.7394 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.3679, allocations: 345.9 kB / 0.7397 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009949/0.3689, allocations: 394.4 kB / 0.7401 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009903/0.3699, allocations: 0.5403 MB / 0.7406 GB, free: 4.305 MB / 0.5762 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.002519/0.3724, allocations: 1.219 MB / 0.7418 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.3724, allocations: 0 / 0.7418 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003101/0.3755, allocations: 1.385 MB / 0.7431 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.3756, allocations: 11.98 kB / 0.7431 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.3756, allocations: 4 kB / 0.7431 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009914/0.3766, allocations: 240.4 kB / 0.7434 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009111/0.3775, allocations: 227.7 kB / 0.7436 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3298/0.7073, allocations: 5.727 MB / 0.7492 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.7085, allocations: 46.67 kB / 0.7492 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.7086, allocations: 48.52 kB / 0.7493 GB, free: 124.1 MB / 0.5762 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.000608/0.7092, allocations: 307.4 kB / 0.7496 GB, free: 124 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/0.7094, allocations: 149.4 kB / 0.7497 GB, free: 124 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003474/0.7129, allocations: 1.54 MB / 0.7512 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.7129, allocations: 11.17 kB / 0.7512 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.7129, allocations: 12.34 kB / 0.7512 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.745e-05/0.7129, allocations: 5.438 kB / 0.7512 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006009/0.7189, allocations: 3.866 MB / 0.755 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.7189, allocations: 3.891 kB / 0.755 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008134/0.7198, allocations: 195.3 kB / 0.7552 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000836/0.7206, allocations: 260.3 kB / 0.7555 GB, free: 121.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.287e-05/0.7207, allocations: 38.3 kB / 0.7555 GB, free: 121.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005014/0.7257, allocations: 5.76 MB / 0.7611 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.7257, allocations: 4.688 kB / 0.7611 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004517/0.7302, allocations: 1.991 MB / 0.7631 GB, free: 115.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003544/0.7306, allocations: 211.2 kB / 0.7633 GB, free: 115.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.7307, allocations: 26.86 kB / 0.7633 GB, free: 115.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007891/0.7315, allocations: 51.81 kB / 0.7633 GB, free: 115.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002424/0.7318, allocations: 97.23 kB / 0.7634 GB, free: 115.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/0.7319, allocations: 49.78 kB / 0.7635 GB, free: 115.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001081/0.733, allocations: 0.689 MB / 0.7642 GB, free: 115 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.733, allocations: 0 / 0.7642 GB, free: 115 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001763/0.7347, allocations: 0.5099 MB / 0.7647 GB, free: 114.9 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.005215/0.7399, allocations: 2.998 MB / 0.7676 GB, free: 113.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002648/0.7426, allocations: 1.421 MB / 0.769 GB, free: 112.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.7426, allocations: 0 / 0.769 GB, free: 112.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001489/0.7441, allocations: 0.9945 MB / 0.7699 GB, free: 112.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.7456, allocations: 394.6 kB / 0.7703 GB, free: 112 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01434/0.76, allocations: 10.93 MB / 0.781 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005906/0.7606, allocations: 1.23 MB / 0.7822 GB, free: 103.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00104/0.7616, allocations: 350.1 kB / 0.7825 GB, free: 102.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007316/0.7623, allocations: 0.6086 MB / 0.7831 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of SimCode: time 7.92e-07/0.7623, allocations: 3.938 kB / 0.7831 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08186/0.8442, allocations: 39.73 MB / 0.8219 GB, free: 62.96 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/14.84, allocations: 0 / 0.8219 GB, free: 62.96 MB / 0.5762 GB " [Timeout remaining time 645] (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 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConductionElement.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe 2>&1) [Timeout 1260.0] 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_2/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_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: 18.710948769934475]