Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.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.Boundaries.Tests.DynamicBoundaries,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_DynamicBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.DynamicBoundaries,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_DynamicBoundaries",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.007665/0.007665, allocations: 99.86 kB / 15.73 MB, free: 6.004 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.00175/0.00175, allocations: 191 kB / 16.67 MB, free: 5.934 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6766/0.6766, allocations: 91.2 MB / 381.7 MB, free: 9.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 75.88 kB / 0.5164 GB, free: 9.492 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1301, allocations: 67.69 MB / 0.5825 GB, free: 5.719 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.DynamicBoundaries): time 0.4983/0.6285, allocations: 185.6 MB / 0.7638 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.05475/0.6833, allocations: 44.86 MB / 0.8076 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005336/0.6887, allocations: 159 kB / 0.8077 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.007203/0.696, allocations: 2.046 MB / 0.8097 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01326/0.7093, allocations: 4.102 MB / 0.8137 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.02306/0.7324, allocations: 7.22 MB / 0.8208 GB, free: 4.18 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007612/0.7401, allocations: 4.688 MB / 0.8254 GB, free: 15.47 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002073/0.7422, allocations: 0.9476 MB / 0.8263 GB, free: 14.48 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02924/0.7715, allocations: 11.5 MB / 0.8375 GB, free: 2.805 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003194/0.7747, allocations: 1.765 MB / 0.8393 GB, free: 1.027 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001358/0.7761, allocations: 247.9 kB / 0.8395 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4268/1.203, allocations: 10.03 MB / 0.8493 GB, free: 26.29 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00102/1.204, allocations: 0.6087 MB / 0.8499 GB, free: 26.29 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002466/1.206, allocations: 1.668 MB / 0.8515 GB, free: 26.29 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02537/1.232, allocations: 9.44 MB / 0.8607 GB, free: 25.8 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/1.232, allocations: 3.969 kB / 0.8607 GB, free: 25.8 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.894e-06/1.232, allocations: 0.5 kB / 0.8607 GB, free: 25.8 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001119/1.232, allocations: 0 / 0.8607 GB, free: 25.8 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 614 * Number of variables: 614 Notification: Performance of Generate backend data structure: time 0.01769/1.25, allocations: 5.175 MB / 0.8658 GB, free: 23.62 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/1.25, allocations: 9.344 kB / 0.8658 GB, free: 23.62 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004456/1.25, allocations: 338.8 kB / 0.8661 GB, free: 23.57 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00295/1.253, allocations: 0.6547 MB / 0.8668 GB, free: 23.35 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005244/1.258, allocations: 2.262 MB / 0.869 GB, free: 22.7 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/1.259, allocations: 179.7 kB / 0.8691 GB, free: 22.7 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006495/1.259, allocations: 246.4 kB / 0.8694 GB, free: 22.69 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006724/1.266, allocations: 2.85 MB / 0.8722 GB, free: 22.31 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.329e-05/1.266, allocations: 12.09 kB / 0.8722 GB, free: 22.31 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001844/1.266, allocations: 96.69 kB / 0.8723 GB, free: 22.31 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.31e-05/1.266, allocations: 60.84 kB / 0.8723 GB, free: 22.31 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005266/1.272, allocations: 2.374 MB / 0.8746 GB, free: 22.3 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01686/1.289, allocations: 13.85 MB / 0.8882 GB, free: 13.8 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00492/1.294, allocations: 2.161 MB / 0.8903 GB, free: 13.64 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001696/1.295, allocations: 1.054 MB / 0.8913 GB, free: 13.59 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09822/1.394, allocations: 47.81 MB / 0.938 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.636e-05/1.394, allocations: 66.62 kB / 0.9381 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=208): time 4.028e-06/1.394, allocations: 0 / 0.9381 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of matching and sorting (n=208): time 0.01186/1.406, allocations: 4.409 MB / 0.9424 GB, free: 7.023 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/1.406, allocations: 205.7 kB / 0.9426 GB, free: 6.781 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002998/1.409, allocations: 2.056 MB / 0.9446 GB, free: 5.23 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002278/1.409, allocations: 63.58 kB / 0.9446 GB, free: 5.191 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008918/1.41, allocations: 1.292 MB / 0.9459 GB, free: 4.551 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000651/1.41, allocations: 0.7359 MB / 0.9466 GB, free: 3.918 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004801/1.411, allocations: 342.7 kB / 0.9469 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001146/1.411, allocations: 304.9 kB / 0.9472 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/1.412, allocations: 0.6573 MB / 0.9479 GB, free: 3 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/1.414, allocations: 0.9336 MB / 0.9488 GB, free: 2.262 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002927/1.417, allocations: 1.747 MB / 0.9505 GB, free: 1.133 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/1.417, allocations: 0 / 0.9505 GB, free: 1.133 MB / 0.7012 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.004936/1.422, allocations: 2.393 MB / 0.9528 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/1.422, allocations: 8 kB / 0.9528 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/1.422, allocations: 8 kB / 0.9528 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009007/1.423, allocations: 294.9 kB / 0.9531 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/1.424, allocations: 394.3 kB / 0.9535 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008323/1.433, allocations: 9.629 MB / 0.9629 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002218/1.435, allocations: 193 kB / 0.9631 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002978/1.435, allocations: 85.59 kB / 0.9632 GB, free: 5.195 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 24 (dynamicPressureInflow5.outlet.state.phase,dynamicPressureInflow4.outlet.state.phase,dynamicPressureInflow3.outlet.state.phase,dynamicPressureInflow2.outlet.state.phase,dynamicPressureInflow1.outlet.state.phase,dynamicPressureInflow.outlet.state.phase,flowResistance5.outlet.state.phase,dynamicPressureOutflow5.outlet.state.phase,source5.outlet.state.phase,flowResistance4.outlet.state.phase,dynamicPressureOutflow4.outlet.state.phase,source4.outlet.state.phase,flowResistance3.outlet.state.phase,dynamicPressureOutflow3.outlet.state.phase,source3.outlet.state.phase,flowResistance2.outlet.state.phase,dynamicPressureOutflow2.outlet.state.phase,source2.outlet.state.phase,flowResistance1.outlet.state.phase,dynamicPressureOutflow1.outlet.state.phase,source1.outlet.state.phase,flowResistance.outlet.state.phase,dynamicPressureOutflow.outlet.state.phase,source.outlet.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001481/1.437, allocations: 461.6 kB / 0.9636 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001167/1.438, allocations: 302 kB / 0.9639 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009849/1.448, allocations: 6.471 MB / 0.9702 GB, free: 488 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.766e-05/1.448, allocations: 77.08 kB / 0.9703 GB, free: 428 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.222e-05/1.448, allocations: 8 kB / 0.9703 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.723e-05/1.448, allocations: 11.95 kB / 0.9703 GB, free: 408 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01648/1.465, allocations: 10.24 MB / 0.9803 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.239e-05/1.465, allocations: 0 / 0.9803 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/1.466, allocations: 333.7 kB / 0.9806 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009894/1.467, allocations: 310.2 kB / 0.9809 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002562/1.467, allocations: 65.2 kB / 0.981 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007808/1.475, allocations: 9.637 MB / 0.9904 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/1.475, allocations: 4.062 kB / 0.9904 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009312/1.485, allocations: 5.787 MB / 0.9961 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00136/1.486, allocations: 491.8 kB / 0.9965 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008349/1.487, allocations: 83.69 kB / 0.9966 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001958/1.489, allocations: 72.95 kB / 0.9967 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004268/1.489, allocations: 166.3 kB / 0.9968 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001655/1.489, allocations: 75.39 kB / 0.9969 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00285/1.492, allocations: 1.647 MB / 0.9985 GB, free: 9.949 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.71e-07/1.492, allocations: 6.625 kB / 0.9985 GB, free: 9.945 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.008153/1.5, allocations: 1.792 MB / 1 GB, free: 8.293 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (flowResistance5.inlet.m_flow,flowResistance4.inlet.m_flow,flowResistance3.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance1.inlet.m_flow,flowResistance.inlet.m_flow) * Number of discrete variables: 36 ($cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse30.phase,$cse30.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01969/1.52, allocations: 8.073 MB / 1.008 GB, free: 0.6602 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006678/1.527, allocations: 3.108 MB / 1.011 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/1.527, allocations: 0 / 1.011 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004364/1.531, allocations: 2.504 MB / 1.014 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006558/1.538, allocations: 0.9436 MB / 1.015 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0484/1.586, allocations: 22.9 MB / 1.037 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00201/1.588, allocations: 2.115 MB / 1.039 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00226/1.591, allocations: 0.9535 MB / 1.04 GB, free: 15.84 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00226/1.593, allocations: 1.643 MB / 1.042 GB, free: 14.2 MB / 0.795 GB Notification: Performance of SimCode: time 9.12e-07/1.593, allocations: 0 / 1.042 GB, free: 14.2 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4693/2.062, allocations: 113.3 MB / 1.152 GB, free: 417.3 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.72/22.78, allocations: 10.45 kB / 1.152 GB, free: 417.3 MB / 0.8887 GB (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ThermofluidStream_ThermofluidStream_Boundaries_Tests_DynamicBoundaries.fmu > ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.DynamicBoundaries_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches