Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.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.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001144, 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.001808/0.001808, allocations: 196.1 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.378/1.378, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7087/0.7087, allocations: 93.69 MB / 383.7 MB, free: 7.191 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 73.53 kB / 462.7 MB, free: 22.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1338, allocations: 68.27 MB / 0.5185 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.03632/0.1701, allocations: 37.81 MB / 0.5554 GB, free: 1.527 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01808/0.1882, allocations: 15.04 MB / 0.5701 GB, free: 2.445 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.19, allocations: 55.62 kB / 0.5702 GB, free: 2.391 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00199/0.192, allocations: 0.8754 MB / 0.571 GB, free: 1.512 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003156/0.1952, allocations: 1.193 MB / 0.5722 GB, free: 320 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00266/0.1979, allocations: 0.9224 MB / 0.5731 GB, free: 15.39 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00244/0.2003, allocations: 2.187 MB / 0.5752 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004879/0.2008, allocations: 315.1 kB / 0.5755 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00134/0.2022, allocations: 0.8909 MB / 0.5764 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006791/0.2029, allocations: 0.684 MB / 0.5771 GB, free: 11.28 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.203, allocations: 60 kB / 0.5771 GB, free: 11.22 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00228/0.2053, allocations: 0.8194 MB / 0.5779 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002626/0.2056, allocations: 294.6 kB / 0.5782 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000649/0.2062, allocations: 0.6909 MB / 0.5789 GB, free: 9.414 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002443/0.2087, allocations: 1.966 MB / 0.5808 GB, free: 7.441 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2087, allocations: 0 / 0.5808 GB, free: 7.441 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2087, allocations: 0 / 0.5808 GB, free: 7.441 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.088e-05/0.2087, allocations: 0 / 0.5808 GB, free: 7.441 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.003391/0.2121, allocations: 2.029 MB / 0.5828 GB, free: 5.352 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.2122, allocations: 15.97 kB / 0.5828 GB, free: 5.336 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003085/0.2125, allocations: 190 kB / 0.583 GB, free: 5.148 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.2141, allocations: 1.131 MB / 0.5841 GB, free: 3.969 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.164e-05/0.2142, allocations: 62 kB / 0.5842 GB, free: 3.906 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.2143, allocations: 87.94 kB / 0.5842 GB, free: 3.82 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.2157, allocations: 0.8493 MB / 0.5851 GB, free: 2.957 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.2157, allocations: 3.938 kB / 0.5851 GB, free: 2.953 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.44e-05/0.2158, allocations: 32 kB / 0.5851 GB, free: 2.922 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.2158, allocations: 27.92 kB / 0.5851 GB, free: 2.895 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.2171, allocations: 0.7925 MB / 0.5859 GB, free: 2.102 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2503/0.4674, allocations: 3.599 MB / 0.5894 GB, free: 69.16 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.4687, allocations: 0.6212 MB / 0.59 GB, free: 69.07 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006001/0.4694, allocations: 346.4 kB / 0.5904 GB, free: 68.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003402/0.4728, allocations: 3.406 MB / 0.5937 GB, free: 65.65 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.4728, allocations: 38.47 kB / 0.5937 GB, free: 65.61 MB / 462.1 MB Notification: Performance of pre-optimization done (n=73): time 2.575e-06/0.4728, allocations: 3.969 kB / 0.5937 GB, free: 65.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=73): time 0.0027/0.4755, allocations: 1.238 MB / 0.5949 GB, free: 65.07 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.4756, allocations: 59.34 kB / 0.595 GB, free: 65.01 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/0.4775, allocations: 1.33 MB / 0.5963 GB, free: 64.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.248e-05/0.4776, allocations: 36.55 kB / 0.5963 GB, free: 64.48 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004159/0.478, allocations: 0.6149 MB / 0.5969 GB, free: 64.06 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.4782, allocations: 258.5 kB / 0.5972 GB, free: 63.87 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.4784, allocations: 141.6 kB / 0.5973 GB, free: 63.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.423e-05/0.4785, allocations: 333 kB / 0.5976 GB, free: 63.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004228/0.4789, allocations: 216.6 kB / 0.5978 GB, free: 63.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/0.4794, allocations: 306.2 kB / 0.5981 GB, free: 63.23 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009741/0.4804, allocations: 0.5445 MB / 0.5986 GB, free: 62.95 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.4804, allocations: 1.094 kB / 0.5986 GB, free: 62.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001799/0.4822, allocations: 0.8342 MB / 0.5995 GB, free: 62.59 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.4823, allocations: 6.094 kB / 0.5995 GB, free: 62.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.4823, allocations: 5.219 kB / 0.5995 GB, free: 62.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005007/0.4828, allocations: 104.6 kB / 0.5996 GB, free: 62.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005619/0.4834, allocations: 141.3 kB / 0.5997 GB, free: 62.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/0.4855, allocations: 2.981 MB / 0.6026 GB, free: 59.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008967/0.4864, allocations: 78.72 kB / 0.6027 GB, free: 59.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.986e-05/0.4865, allocations: 25.92 kB / 0.6027 GB, free: 59.66 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0006697/0.4872, allocations: 331.5 kB / 0.603 GB, free: 59.44 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/0.4874, allocations: 154.4 kB / 0.6032 GB, free: 59.36 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/0.4896, allocations: 1.143 MB / 0.6043 GB, free: 58.85 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.4897, allocations: 9.031 kB / 0.6043 GB, free: 58.85 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.4897, allocations: 11.11 kB / 0.6043 GB, free: 58.84 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.4897, allocations: 3.281 kB / 0.6043 GB, free: 58.84 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003392/0.4931, allocations: 2.002 MB / 0.6063 GB, free: 57.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.4931, allocations: 6.141 kB / 0.6063 GB, free: 57.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004551/0.4936, allocations: 121.1 kB / 0.6064 GB, free: 57.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003863/0.494, allocations: 117.4 kB / 0.6065 GB, free: 57.79 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.656e-05/0.494, allocations: 21.11 kB / 0.6065 GB, free: 57.78 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/0.4961, allocations: 2.985 MB / 0.6094 GB, free: 54.95 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.4961, allocations: 6.062 kB / 0.6095 GB, free: 54.95 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00223/0.4984, allocations: 1.223 MB / 0.6106 GB, free: 54.31 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005523/0.4989, allocations: 339.4 kB / 0.611 GB, free: 54.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/0.4992, allocations: 19.08 kB / 0.611 GB, free: 54.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000627/0.4998, allocations: 41.81 kB / 0.611 GB, free: 54.04 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.5, allocations: 60.53 kB / 0.6111 GB, free: 54.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.105e-05/0.5001, allocations: 32 kB / 0.6111 GB, free: 54.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001352/0.5014, allocations: 0.9404 MB / 0.612 GB, free: 53.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5014, allocations: 0 / 0.612 GB, free: 53.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001334/0.5028, allocations: 421 kB / 0.6124 GB, free: 53.58 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.inlet.m_flow,flowResistance2.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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.001495/0.5043, allocations: 0.7602 MB / 0.6132 GB, free: 53.36 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001719/0.506, allocations: 0.8244 MB / 0.614 GB, free: 52.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.506, allocations: 0 / 0.614 GB, free: 52.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00091/0.5069, allocations: 0.5795 MB / 0.6145 GB, free: 52.58 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/0.5089, allocations: 378.2 kB / 0.6149 GB, free: 52.45 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004504/0.5134, allocations: 2.96 MB / 0.6178 GB, free: 50.66 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009925/0.5144, allocations: 1.213 MB / 0.619 GB, free: 49.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009725/0.5154, allocations: 243 kB / 0.6192 GB, free: 49.83 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/0.5157, allocations: 123.5 kB / 0.6193 GB, free: 49.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.262e-06/0.5157, allocations: 0.625 kB / 0.6193 GB, free: 49.8 MB / 462.1 MB Notification: Performance of Templates: time 0.03218/0.5479, allocations: 20.59 MB / 0.6394 GB, free: 36.8 MB / 462.1 MB make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches