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: translateModel(ThermofluidStream.Examples.SimpleStream,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|source.outlet.m_flow|thermalConduction.h|thermalConduction.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream") translateModel(ThermofluidStream.Examples.SimpleStream,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|source.outlet.m_flow|thermalConduction.h|thermalConduction.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001625, 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.002218/0.002219, allocations: 196.8 kB / 16.14 MB, free: 6.715 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.491/1.491, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7726/0.7726, allocations: 93.69 MB / 383.7 MB, free: 7.172 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001553, allocations: 84.33 kB / 462.7 MB, free: 22.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1776, allocations: 68.26 MB / 0.5185 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.6672/0.8448, allocations: 286.5 MB / 0.7983 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03107/0.8759, allocations: 28.08 MB / 0.8257 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002481/0.8785, allocations: 59.62 kB / 0.8258 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.5135/1.392, allocations: 1.295 MB / 0.827 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01483/1.407, allocations: 4.098 MB / 0.831 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006631/1.414, allocations: 1.813 MB / 0.8328 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005921/1.419, allocations: 3.356 MB / 0.8361 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/1.421, allocations: 0.5645 MB / 0.8366 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00396/1.425, allocations: 1.264 MB / 0.8379 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/1.426, allocations: 1.03 MB / 0.8389 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002237/1.426, allocations: 94.69 kB / 0.839 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02399/1.45, allocations: 10.14 MB / 0.8488 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001276/1.452, allocations: 451.3 kB / 0.8493 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001902/1.454, allocations: 0.8075 MB / 0.8501 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02057/1.474, allocations: 5.829 MB / 0.8558 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.474, allocations: 2.438 kB / 0.8558 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.496e-06/1.474, allocations: 3.312 kB / 0.8558 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.935e-05/1.474, allocations: 3.938 kB / 0.8558 GB, free: 1.113 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.00791/1.482, allocations: 2.711 MB / 0.8584 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/1.482, allocations: 8.188 kB / 0.8584 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003892/1.483, allocations: 174.8 kB / 0.8586 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/1.484, allocations: 0.9451 MB / 0.8595 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.254e-05/1.484, allocations: 88.88 kB / 0.8596 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/1.485, allocations: 124.3 kB / 0.8597 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002605/1.487, allocations: 1.769 MB / 0.8614 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/1.487, allocations: 5.594 kB / 0.8615 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/1.487, allocations: 47.22 kB / 0.8615 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001422/1.488, allocations: 113.5 kB / 0.8616 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002482/1.49, allocations: 1.885 MB / 0.8634 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009229/1.499, allocations: 7.966 MB / 0.8712 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/1.501, allocations: 0.9099 MB / 0.8721 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008864/1.502, allocations: 0.6863 MB / 0.8728 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001699/1.503, allocations: 2.356 MB / 0.8751 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/1.503, allocations: 40.62 kB / 0.8751 GB, free: 7.734 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=101): time 4.027e-06/1.503, allocations: 2.969 kB / 0.8751 GB, free: 7.734 MB / 0.6387 GB Notification: Performance of matching and sorting (n=103): time 0.007041/1.51, allocations: 3.842 MB / 0.8789 GB, free: 6.98 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/1.511, allocations: 62.38 kB / 0.8789 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/1.512, allocations: 0.8042 MB / 0.8797 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.708e-05/1.512, allocations: 41.77 kB / 0.8798 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004215/1.512, allocations: 0.6069 MB / 0.8804 GB, free: 6.492 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002892/1.512, allocations: 353.5 kB / 0.8807 GB, free: 6.266 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002946/1.513, allocations: 186.6 kB / 0.8809 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.513, allocations: 344 kB / 0.8812 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007053/1.514, allocations: 0.4965 MB / 0.8817 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008202/1.514, allocations: 0.5741 MB / 0.8822 GB, free: 5.906 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.001789/1.516, allocations: 1.235 MB / 0.8834 GB, free: 5.77 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/1.516, allocations: 0 / 0.8834 GB, free: 5.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002481/1.519, allocations: 1.502 MB / 0.8849 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/1.519, allocations: 5.375 kB / 0.8849 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.519, allocations: 3.281 kB / 0.8849 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005691/1.519, allocations: 171.4 kB / 0.8851 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006433/1.52, allocations: 186.9 kB / 0.8853 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002991/1.523, allocations: 2.459 MB / 0.8877 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008944/1.524, allocations: 97.11 kB / 0.8878 GB, free: 4.238 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/1.524, allocations: 63.19 kB / 0.8878 GB, free: 4.238 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.0007556/1.525, allocations: 337.1 kB / 0.8881 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/1.525, allocations: 116 kB / 0.8883 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003447/1.529, allocations: 2.128 MB / 0.8903 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.402e-05/1.529, allocations: 14 kB / 0.8903 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/1.529, allocations: 7.578 kB / 0.8904 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/1.529, allocations: 5.062 kB / 0.8904 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005391/1.534, allocations: 3.377 MB / 0.8937 GB, free: 3.336 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/1.534, allocations: 3.938 kB / 0.8937 GB, free: 3.332 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006489/1.535, allocations: 179 kB / 0.8938 GB, free: 3.332 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005506/1.535, allocations: 176.2 kB / 0.894 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.577e-05/1.535, allocations: 46.81 kB / 0.894 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002885/1.538, allocations: 2.452 MB / 0.8964 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.538, allocations: 0 / 0.8964 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003614/1.542, allocations: 2.346 MB / 0.8987 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005704/1.542, allocations: 179.7 kB / 0.8989 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003231/1.543, allocations: 28.52 kB / 0.8989 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009243/1.544, allocations: 102.5 kB / 0.899 GB, free: 1.043 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/1.544, allocations: 78.86 kB / 0.8991 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/1.544, allocations: 68.81 kB / 0.8992 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000951/1.545, allocations: 0.5854 MB / 0.8997 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.61e-07/1.545, allocations: 0 / 0.8997 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003648/1.549, allocations: 0.9313 MB / 0.9006 GB, free: 0.6328 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.004303/1.553, allocations: 1.206 MB / 0.9018 GB, free: 156 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003019/1.556, allocations: 1.524 MB / 0.9033 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.556, allocations: 0 / 0.9033 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001623/1.558, allocations: 0.9222 MB / 0.9042 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002432/1.56, allocations: 395.5 kB / 0.9046 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005914/1.566, allocations: 3.357 MB / 0.9079 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/1.567, allocations: 1.261 MB / 0.9091 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001617/1.569, allocations: 0.6084 MB / 0.9097 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004829/1.569, allocations: 142.7 kB / 0.9098 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of SimCode: time 5.81e-07/1.569, allocations: 0 / 0.9098 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of Templates: time 0.05872/1.628, allocations: 35.56 MB / 0.9446 GB, free: 7.422 MB / 0.6856 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.makefile (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 & ./ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Examples.SimpleStream_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches