Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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_ThermofluidStream_Examples_SimpleStream",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Examples.SimpleStream,fileNamePrefix="ThermofluidStream_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.0008672/0.0008673, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005233/0.005234, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.218/1.218, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 7.277/7.277, allocations: 89.64 MB / 381.1 MB, free: 11.31 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0005557/0.0005557, allocations: 10.41 kB / 460.7 MB, free: 24.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1365, allocations: 68.83 MB / 0.5172 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.5507/0.6872, allocations: 281.7 MB / 0.7923 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.364/1.051, allocations: 27.5 MB / 0.8192 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001299/1.053, allocations: 22.94 kB / 0.8192 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003027/1.056, allocations: 1.298 MB / 0.8204 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01045/1.066, allocations: 4.069 MB / 0.8244 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005016/1.071, allocations: 1.812 MB / 0.8262 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004262/1.075, allocations: 3.215 MB / 0.8293 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008576/1.076, allocations: 0.5209 MB / 0.8298 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002939/1.079, allocations: 1.122 MB / 0.8309 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001358/1.081, allocations: 0.896 MB / 0.8318 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001304/1.081, allocations: 51.34 kB / 0.8319 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01672/1.097, allocations: 10.1 MB / 0.8417 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007395/1.098, allocations: 381.4 kB / 0.8421 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001425/1.1, allocations: 0.7172 MB / 0.8428 GB, free: 17.43 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01261/1.112, allocations: 5.699 MB / 0.8483 GB, free: 17.2 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/1.112, allocations: 0 / 0.8483 GB, free: 17.2 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.484e-06/1.112, allocations: 3.141 kB / 0.8483 GB, free: 17.2 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.589e-05/1.112, allocations: 3.375 kB / 0.8483 GB, free: 17.2 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.004924/1.117, allocations: 2.287 MB / 0.8506 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/1.117, allocations: 9.25 kB / 0.8506 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002292/1.118, allocations: 183.2 kB / 0.8508 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/1.118, allocations: 164.5 kB / 0.8509 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009427/1.119, allocations: 0.7734 MB / 0.8517 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.452e-05/1.119, allocations: 87.98 kB / 0.8518 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/1.119, allocations: 125.2 kB / 0.8519 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/1.121, allocations: 1.772 MB / 0.8536 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/1.121, allocations: 0 / 0.8536 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.354e-05/1.121, allocations: 50.45 kB / 0.8537 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/1.121, allocations: 114.5 kB / 0.8538 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002155/1.124, allocations: 1.876 MB / 0.8556 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007596/1.131, allocations: 7.944 MB / 0.8634 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/1.132, allocations: 0.9086 MB / 0.8642 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007952/1.133, allocations: 0.6828 MB / 0.8649 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00142/1.135, allocations: 2.357 MB / 0.8672 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/1.135, allocations: 48.69 kB / 0.8673 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=101): time 5.04e-06/1.135, allocations: 3.984 kB / 0.8673 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of matching and sorting (n=103): time 0.005747/1.14, allocations: 3.789 MB / 0.871 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/1.141, allocations: 68.19 kB / 0.871 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007233/1.141, allocations: 0.6624 MB / 0.8717 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.571e-05/1.141, allocations: 50.09 kB / 0.8717 GB, free: 6.535 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/1.142, allocations: 0.5229 MB / 0.8722 GB, free: 6.234 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002414/1.142, allocations: 354.6 kB / 0.8726 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/1.142, allocations: 78.45 kB / 0.8726 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001736/1.142, allocations: 336.5 kB / 0.873 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/1.143, allocations: 0.5021 MB / 0.8735 GB, free: 5.574 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009133/1.144, allocations: 0.5829 MB / 0.874 GB, free: 5.465 MB / 0.6231 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.001667/1.146, allocations: 1.237 MB / 0.8752 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.146, allocations: 0 / 0.8752 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002435/1.148, allocations: 1.481 MB / 0.8767 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/1.148, allocations: 8.844 kB / 0.8767 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/1.148, allocations: 96 / 0.8767 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006061/1.149, allocations: 177 kB / 0.8769 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006144/1.15, allocations: 192.4 kB / 0.877 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002819/1.153, allocations: 2.467 MB / 0.8795 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008571/1.153, allocations: 93.05 kB / 0.8795 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/1.154, allocations: 66.97 kB / 0.8796 GB, free: 3.324 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (96): * Single equations (assignments): 90 * 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.0005931/1.154, allocations: 322.1 kB / 0.8799 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/1.154, allocations: 97.62 kB / 0.88 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003263/1.158, allocations: 2.126 MB / 0.8821 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-05/1.158, allocations: 17.09 kB / 0.8821 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.158, allocations: 3.344 kB / 0.8821 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/1.158, allocations: 6.516 kB / 0.8821 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005032/1.163, allocations: 3.336 MB / 0.8854 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/1.163, allocations: 0 / 0.8854 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006289/1.163, allocations: 178.7 kB / 0.8855 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005674/1.164, allocations: 180.5 kB / 0.8857 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.586e-05/1.164, allocations: 39.38 kB / 0.8857 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002743/1.167, allocations: 2.458 MB / 0.8881 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.167, allocations: 0 / 0.8881 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00297/1.17, allocations: 2.326 MB / 0.8904 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003307/1.17, allocations: 187.1 kB / 0.8906 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/1.17, allocations: 22.7 kB / 0.8906 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005862/1.171, allocations: 99.56 kB / 0.8907 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/1.171, allocations: 89.34 kB / 0.8908 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/1.171, allocations: 61.78 kB / 0.8909 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000534/1.172, allocations: 0.4976 MB / 0.8913 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.21e-07/1.172, allocations: 0 / 0.8913 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002295/1.174, allocations: 0.9357 MB / 0.8923 GB, free: 14.78 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.005641/1.18, allocations: 4.05 MB / 0.8962 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002385/1.182, allocations: 1.529 MB / 0.8977 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.182, allocations: 0 / 0.8977 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001251/1.183, allocations: 0.928 MB / 0.8986 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/1.185, allocations: 379.3 kB / 0.899 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/1.199, allocations: 10.99 MB / 0.9097 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000744/1.2, allocations: 1.215 MB / 0.9109 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001176/1.201, allocations: 0.5774 MB / 0.9115 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006733/1.201, allocations: 0.5335 MB / 0.912 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of SimCode: time 4.81e-07/1.201, allocations: 0 / 0.912 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.942/3.144, allocations: 45.74 MB / 0.9566 GB, free: 4.254 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/3.144, allocations: 250 kB / 0.9569 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.763/7.907, allocations: 4 kB / 0.9569 GB, free: 4 MB / 0.6856 GB (rm -f ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe >> ../files/ThermofluidStream_ThermofluidStream.Examples.SimpleStream.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Examples.SimpleStream_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Examples_SimpleStream_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Examples_SimpleStream.fmu > ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Examples.SimpleStream_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Examples.SimpleStream_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Examples.SimpleStream.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches