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.001449/0.001449, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001904/0.001904, allocations: 198 kB / 16.14 MB, free: 6.719 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.337/1.337, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8639/0.8639, allocations: 89.52 MB / 379.5 MB, free: 11.29 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 74.61 kB / 457.6 MB, free: 23.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.158, allocations: 67.32 MB / 0.5127 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.6766/0.8347, allocations: 285.9 MB / 0.7918 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0348/0.8696, allocations: 27.93 MB / 0.8191 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001965/0.8716, allocations: 23.88 kB / 0.8191 GB, free: 9.211 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004044/0.8757, allocations: 1.303 MB / 0.8204 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01497/0.8907, allocations: 4.048 MB / 0.8244 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005929/0.8967, allocations: 1.814 MB / 0.8261 GB, free: 2.023 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.5104/1.407, allocations: 3.22 MB / 0.8293 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00143/1.409, allocations: 0.5271 MB / 0.8298 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003608/1.412, allocations: 1.209 MB / 0.831 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001709/1.414, allocations: 1.005 MB / 0.832 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002264/1.414, allocations: 96.09 kB / 0.832 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02324/1.437, allocations: 10.14 MB / 0.8419 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001085/1.439, allocations: 441 kB / 0.8424 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001519/1.44, allocations: 0.7646 MB / 0.8431 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01544/1.456, allocations: 5.76 MB / 0.8487 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.456, allocations: 0 / 0.8487 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.513e-06/1.456, allocations: 1.125 kB / 0.8487 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.5e-05/1.456, allocations: 2.375 kB / 0.8487 GB, free: 4.434 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.006883/1.463, allocations: 2.565 MB / 0.8512 GB, free: 19.48 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/1.463, allocations: 7.562 kB / 0.8513 GB, free: 19.48 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002195/1.463, allocations: 184 kB / 0.8514 GB, free: 19.44 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003629/1.463, allocations: 158.7 kB / 0.8516 GB, free: 19.36 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/1.464, allocations: 0.7674 MB / 0.8523 GB, free: 19.03 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.775e-05/1.465, allocations: 86.69 kB / 0.8524 GB, free: 19.02 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002016/1.465, allocations: 121.6 kB / 0.8525 GB, free: 19.02 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0028/1.468, allocations: 1.773 MB / 0.8543 GB, free: 18.91 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/1.468, allocations: 11.91 kB / 0.8543 GB, free: 18.9 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/1.468, allocations: 47.77 kB / 0.8543 GB, free: 18.9 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/1.468, allocations: 115 kB / 0.8544 GB, free: 18.89 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002485/1.47, allocations: 1.882 MB / 0.8563 GB, free: 18.88 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008443/1.479, allocations: 7.921 MB / 0.864 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/1.48, allocations: 0.9067 MB / 0.8649 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008358/1.481, allocations: 0.6839 MB / 0.8656 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00159/1.483, allocations: 2.36 MB / 0.8679 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/1.483, allocations: 41.06 kB / 0.8679 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=101): time 4.097e-06/1.483, allocations: 0 / 0.8679 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of matching and sorting (n=103): time 0.006337/1.489, allocations: 3.8 MB / 0.8716 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/1.489, allocations: 61.12 kB / 0.8717 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008023/1.49, allocations: 0.6691 MB / 0.8723 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.863e-05/1.49, allocations: 43.11 kB / 0.8724 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/1.49, allocations: 0.5212 MB / 0.8729 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000221/1.491, allocations: 355.9 kB / 0.8732 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002743/1.491, allocations: 183.6 kB / 0.8734 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.491, allocations: 344.9 kB / 0.8737 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006665/1.492, allocations: 0.5027 MB / 0.8742 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007623/1.492, allocations: 0.5782 MB / 0.8748 GB, free: 9.676 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.001618/1.494, allocations: 1.234 MB / 0.876 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.494, allocations: 2.625 kB / 0.876 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002273/1.496, allocations: 1.497 MB / 0.8774 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/1.496, allocations: 5.719 kB / 0.8774 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/1.496, allocations: 2.469 kB / 0.8774 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005618/1.497, allocations: 167.5 kB / 0.8776 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00064/1.498, allocations: 186.2 kB / 0.8778 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00269/1.5, allocations: 2.462 MB / 0.8802 GB, free: 8.039 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008209/1.501, allocations: 94.48 kB / 0.8803 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/1.501, allocations: 63.36 kB / 0.8803 GB, free: 8.023 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 (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.0006262/1.502, allocations: 331.2 kB / 0.8807 GB, free: 7.902 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/1.502, allocations: 99.19 kB / 0.8807 GB, free: 7.848 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003345/1.505, allocations: 2.116 MB / 0.8828 GB, free: 7.645 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.412e-05/1.505, allocations: 11.94 kB / 0.8828 GB, free: 7.645 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/1.505, allocations: 3.406 kB / 0.8828 GB, free: 7.645 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/1.506, allocations: 7.172 kB / 0.8828 GB, free: 7.645 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005056/1.511, allocations: 3.314 MB / 0.8861 GB, free: 7.141 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/1.511, allocations: 6.781 kB / 0.8861 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006556/1.511, allocations: 174.4 kB / 0.8862 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005804/1.512, allocations: 176.7 kB / 0.8864 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.656e-05/1.512, allocations: 45.17 kB / 0.8865 GB, free: 7.117 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003025/1.515, allocations: 2.461 MB / 0.8889 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.515, allocations: 0 / 0.8889 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003579/1.519, allocations: 2.337 MB / 0.8911 GB, free: 5.484 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004776/1.519, allocations: 168.3 kB / 0.8913 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/1.519, allocations: 22.38 kB / 0.8913 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006731/1.52, allocations: 98.84 kB / 0.8914 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/1.52, allocations: 85.81 kB / 0.8915 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/1.52, allocations: 67.03 kB / 0.8916 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006395/1.521, allocations: 0.4971 MB / 0.892 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/1.521, allocations: 2.438 kB / 0.8921 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002953/1.524, allocations: 0.9308 MB / 0.893 GB, free: 5.09 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.006712/1.531, allocations: 4.053 MB / 0.8969 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002469/1.533, allocations: 1.527 MB / 0.8984 GB, free: 3.898 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.533, allocations: 0 / 0.8984 GB, free: 3.898 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001294/1.534, allocations: 0.9223 MB / 0.8993 GB, free: 3.766 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001912/1.536, allocations: 387.1 kB / 0.8997 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/1.552, allocations: 10.88 MB / 0.9103 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007899/1.553, allocations: 1.217 MB / 0.9115 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00134/1.554, allocations: 0.586 MB / 0.9121 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007024/1.555, allocations: 0.5303 MB / 0.9126 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of SimCode: time 5.61e-07/1.555, allocations: 4 kB / 0.9126 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09708/1.652, allocations: 46.23 MB / 0.9577 GB, free: 0.9688 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/1.652, allocations: 256.6 kB / 0.958 GB, free: 0.7148 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.244/4.896, allocations: 0 / 0.958 GB, free: 0.7148 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