Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.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.Examples.SimpleStream,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Examples_SimpleStream",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Examples.SimpleStream,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Examples_SimpleStream",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.001339/0.001339, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.432/1.432, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8316/0.8316, allocations: 93.71 MB / 384.1 MB, free: 7 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002316/0.002316, allocations: 78.69 kB / 463.5 MB, free: 22.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1193, allocations: 68.27 MB / 0.5193 GB, free: 6.938 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.5384/0.6578, allocations: 284.6 MB / 0.7972 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03618/0.694, allocations: 27.34 MB / 0.8239 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001353/0.6954, allocations: 59.56 kB / 0.824 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003419/0.6988, allocations: 1.388 MB / 0.8253 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.33/1.029, allocations: 4.669 MB / 0.8299 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004714/1.034, allocations: 2.037 MB / 0.8319 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002513/1.036, allocations: 2.246 MB / 0.8341 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006901/1.037, allocations: 0.6365 MB / 0.8347 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002093/1.039, allocations: 1.361 MB / 0.836 GB, free: 1.887 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/1.04, allocations: 0.9861 MB / 0.837 GB, free: 1.887 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001908/1.04, allocations: 136.3 kB / 0.8371 GB, free: 1.887 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01497/1.055, allocations: 8.854 MB / 0.8458 GB, free: 1.887 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005569/1.056, allocations: 492.2 kB / 0.8462 GB, free: 1.887 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001047/1.057, allocations: 0.8467 MB / 0.8471 GB, free: 1.887 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01012/1.067, allocations: 5.473 MB / 0.8524 GB, free: 1.719 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.067, allocations: 1.031 kB / 0.8524 GB, free: 1.719 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.224e-06/1.067, allocations: 0 / 0.8524 GB, free: 1.719 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.811e-05/1.067, allocations: 3.844 kB / 0.8524 GB, free: 1.719 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.005578/1.073, allocations: 2.713 MB / 0.855 GB, free: 16.39 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/1.073, allocations: 7.938 kB / 0.8551 GB, free: 16.39 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002152/1.073, allocations: 185.9 kB / 0.8552 GB, free: 16.34 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002857/1.073, allocations: 175.4 kB / 0.8554 GB, free: 16.26 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/1.074, allocations: 0.9436 MB / 0.8563 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.958e-05/1.074, allocations: 88.03 kB / 0.8564 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/1.075, allocations: 125.3 kB / 0.8565 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/1.077, allocations: 1.773 MB / 0.8583 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/1.077, allocations: 4.031 kB / 0.8583 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/1.077, allocations: 45.94 kB / 0.8583 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001122/1.077, allocations: 113.1 kB / 0.8584 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/1.079, allocations: 1.875 MB / 0.8602 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008318/1.088, allocations: 8.026 MB / 0.8681 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/1.089, allocations: 0.9137 MB / 0.869 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008199/1.09, allocations: 0.6887 MB / 0.8696 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001979/1.092, allocations: 2.353 MB / 0.8719 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/1.092, allocations: 44.5 kB / 0.872 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=101): time 2.835e-06/1.092, allocations: 0 / 0.872 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of matching and sorting (n=103): time 0.005922/1.098, allocations: 3.843 MB / 0.8757 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/1.098, allocations: 62.98 kB / 0.8758 GB, free: 7.504 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008761/1.099, allocations: 0.8051 MB / 0.8766 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.899e-05/1.099, allocations: 39.95 kB / 0.8766 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/1.099, allocations: 0.6042 MB / 0.8772 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002898/1.1, allocations: 357.4 kB / 0.8776 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002721/1.1, allocations: 181 kB / 0.8777 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001686/1.1, allocations: 343.6 kB / 0.8781 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006548/1.101, allocations: 0.504 MB / 0.8785 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007314/1.102, allocations: 0.5762 MB / 0.8791 GB, free: 6.496 MB / 0.6387 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: thermalConduction.deltaE_system = $START.thermalConduction.deltaE_system (0.0 = $START.thermalConduction.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/1.103, allocations: 1.235 MB / 0.8803 GB, free: 6.363 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/1.103, allocations: 7.938 kB / 0.8803 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002264/1.105, allocations: 1.498 MB / 0.8818 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/1.105, allocations: 4.844 kB / 0.8818 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/1.105, allocations: 2.469 kB / 0.8818 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005312/1.106, allocations: 171.5 kB / 0.882 GB, free: 6.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006382/1.107, allocations: 186.7 kB / 0.8821 GB, free: 6.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003105/1.11, allocations: 2.695 MB / 0.8848 GB, free: 4.703 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005108/1.11, allocations: 26.98 kB / 0.8848 GB, free: 4.703 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/1.11, allocations: 70.28 kB / 0.8849 GB, free: 4.703 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: thermalConduction.deltaE_system = $START.thermalConduction.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (95): * Single equations (assignments): 89 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005635/1.111, allocations: 336.2 kB / 0.8852 GB, free: 4.578 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/1.111, allocations: 113.2 kB / 0.8853 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003355/1.115, allocations: 2.135 MB / 0.8874 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.35e-05/1.115, allocations: 10.72 kB / 0.8874 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.115, allocations: 2.781 kB / 0.8874 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/1.115, allocations: 4.641 kB / 0.8874 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004658/1.119, allocations: 3.373 MB / 0.8907 GB, free: 3.828 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/1.119, allocations: 0 / 0.8907 GB, free: 3.828 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006171/1.12, allocations: 179.1 kB / 0.8909 GB, free: 3.828 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000501/1.121, allocations: 183.5 kB / 0.891 GB, free: 3.816 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.532e-05/1.121, allocations: 48.2 kB / 0.8911 GB, free: 3.812 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002991/1.124, allocations: 2.701 MB / 0.8937 GB, free: 2.273 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.124, allocations: 6.812 kB / 0.8937 GB, free: 2.273 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003116/1.127, allocations: 2.347 MB / 0.896 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002615/1.127, allocations: 180.3 kB / 0.8962 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/1.127, allocations: 18.41 kB / 0.8962 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004541/1.128, allocations: 31.27 kB / 0.8962 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/1.128, allocations: 83.08 kB / 0.8963 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/1.128, allocations: 71.17 kB / 0.8964 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006835/1.129, allocations: 0.5836 MB / 0.897 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.81e-07/1.129, allocations: 0 / 0.897 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002442/1.131, allocations: 0.9335 MB / 0.8979 GB, free: 1.605 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (thermalConduction.h,heatCapacitor.T,flowResistance2.inlet.m_flow,flowResistance3.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 (91): * Single equations (assignments): 85 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005911/1.137, allocations: 4.08 MB / 0.9018 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003241/1.14, allocations: 1.716 MB / 0.9035 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/1.14, allocations: 0 / 0.9035 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001396/1.142, allocations: 0.9283 MB / 0.9044 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/1.143, allocations: 426.2 kB / 0.9048 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/1.16, allocations: 11.11 MB / 0.9157 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/1.161, allocations: 1.265 MB / 0.9169 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001577/1.162, allocations: 0.6128 MB / 0.9175 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009369/1.163, allocations: 0.6008 MB / 0.9181 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of SimCode: time 8.52e-07/1.163, allocations: 4 kB / 0.9181 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1003/1.264, allocations: 49.08 MB / 0.966 GB, free: 3.723 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.86, allocations: 6.656 kB / 0.9661 GB, free: 3.719 MB / 0.7012 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream_res.csv --start-time 0 --stop-time 100 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 ThermofluidStream_dev_ThermofluidStream_Examples_SimpleStream.fmu > ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Examples.SimpleStream_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches