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.001246/0.001246, allocations: 101.7 kB / 15.98 MB, free: 6.359 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.001215/0.001215, allocations: 196 kB / 16.91 MB, free: 6.191 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.406/1.406, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7701/0.7701, allocations: 93.69 MB / 384.4 MB, free: 5.48 MB / 302.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 79.88 kB / 463.6 MB, free: 6.492 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1376, allocations: 68.27 MB / 0.5194 GB, free: 2.145 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.2504/0.388, allocations: 37.72 MB / 0.5562 GB, free: 22.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01322/0.4013, allocations: 14.93 MB / 0.5708 GB, free: 11.67 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001502/0.4028, allocations: 55.84 kB / 0.5708 GB, free: 11.65 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001941/0.4048, allocations: 0.8712 MB / 0.5717 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00317/0.408, allocations: 1.204 MB / 0.5729 GB, free: 10.63 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002684/0.4107, allocations: 0.9412 MB / 0.5738 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002387/0.4131, allocations: 1.916 MB / 0.5756 GB, free: 9.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005049/0.4136, allocations: 341.3 kB / 0.576 GB, free: 9.039 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/0.4153, allocations: 0.9613 MB / 0.5769 GB, free: 8.656 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007895/0.4161, allocations: 0.6949 MB / 0.5776 GB, free: 8.312 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.4162, allocations: 94.53 kB / 0.5777 GB, free: 8.309 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002487/0.4187, allocations: 0.8671 MB / 0.5785 GB, free: 8.047 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002984/0.419, allocations: 327.8 kB / 0.5788 GB, free: 7.859 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006085/0.4197, allocations: 0.7181 MB / 0.5795 GB, free: 7.391 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002248/0.4219, allocations: 1.526 MB / 0.581 GB, free: 6.816 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4219, allocations: 0 / 0.581 GB, free: 6.816 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.422, allocations: 2.062 kB / 0.581 GB, free: 6.816 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.279e-05/0.422, allocations: 0 / 0.581 GB, free: 6.816 MB / 446.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.003437/0.4254, allocations: 2.028 MB / 0.583 GB, free: 5.457 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.4255, allocations: 14 kB / 0.583 GB, free: 5.453 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002945/0.4258, allocations: 190.5 kB / 0.5832 GB, free: 5.352 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/0.4274, allocations: 1.132 MB / 0.5843 GB, free: 4.684 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.879e-05/0.4274, allocations: 58.84 kB / 0.5844 GB, free: 4.656 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.4276, allocations: 82.86 kB / 0.5844 GB, free: 4.629 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.429, allocations: 0.8528 MB / 0.5853 GB, free: 4.266 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.4291, allocations: 0.5625 kB / 0.5853 GB, free: 4.266 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.396e-05/0.4291, allocations: 34.81 kB / 0.5853 GB, free: 4.238 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.4292, allocations: 23.03 kB / 0.5853 GB, free: 4.234 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.4305, allocations: 0.7956 MB / 0.5861 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004563/0.4351, allocations: 3.605 MB / 0.5896 GB, free: 1.336 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.4361, allocations: 0.6308 MB / 0.5902 GB, free: 1.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005427/0.4367, allocations: 337.2 kB / 0.5906 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00385/0.4405, allocations: 3.404 MB / 0.5939 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/0.4406, allocations: 39.28 kB / 0.5939 GB, free: 13.54 MB / 462.1 MB Notification: Performance of pre-optimization done (n=73): time 4.228e-06/0.4406, allocations: 0 / 0.5939 GB, free: 13.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=73): time 0.002844/0.4435, allocations: 1.25 MB / 0.5952 GB, free: 12.89 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.4435, allocations: 64.34 kB / 0.5952 GB, free: 12.83 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001896/0.4454, allocations: 1.323 MB / 0.5965 GB, free: 12.34 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.149e-05/0.4455, allocations: 45.11 kB / 0.5965 GB, free: 12.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005524/0.4461, allocations: 0.6162 MB / 0.5972 GB, free: 11.8 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/0.4463, allocations: 248 kB / 0.5974 GB, free: 11.61 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/0.4466, allocations: 140.7 kB / 0.5975 GB, free: 11.54 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.4467, allocations: 333.2 kB / 0.5978 GB, free: 11.22 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004421/0.4472, allocations: 210.7 kB / 0.598 GB, free: 11.14 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005594/0.4478, allocations: 313.6 kB / 0.5983 GB, free: 10.97 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.4488, allocations: 0.54 MB / 0.5989 GB, free: 10.68 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.4488, allocations: 2.125 kB / 0.5989 GB, free: 10.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001671/0.4505, allocations: 0.8322 MB / 0.5997 GB, free: 10.25 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.4505, allocations: 13.48 kB / 0.5997 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.4505, allocations: 1.5 kB / 0.5997 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004661/0.451, allocations: 109.7 kB / 0.5998 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005432/0.4516, allocations: 139.8 kB / 0.5999 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002951/0.4545, allocations: 3.214 MB / 0.6031 GB, free: 6.996 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007365/0.4553, allocations: 75.8 kB / 0.6031 GB, free: 6.945 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.152e-05/0.4553, allocations: 31.92 kB / 0.6032 GB, free: 6.934 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.0005702/0.4559, allocations: 328 kB / 0.6035 GB, free: 6.703 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002599/0.4562, allocations: 150.7 kB / 0.6036 GB, free: 6.621 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002232/0.4584, allocations: 1.149 MB / 0.6048 GB, free: 5.926 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.4585, allocations: 8.875 kB / 0.6048 GB, free: 5.926 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4585, allocations: 1.375 kB / 0.6048 GB, free: 5.926 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.4585, allocations: 3.984 kB / 0.6048 GB, free: 5.922 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004157/0.4626, allocations: 1.999 MB / 0.6067 GB, free: 4.527 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.4627, allocations: 6.938 kB / 0.6067 GB, free: 4.523 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005077/0.4632, allocations: 126.4 kB / 0.6068 GB, free: 4.488 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004245/0.4636, allocations: 111.6 kB / 0.607 GB, free: 4.422 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-05/0.4637, allocations: 25.58 kB / 0.607 GB, free: 4.406 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003248/0.467, allocations: 3.21 MB / 0.6101 GB, free: 1.008 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.467, allocations: 3.75 kB / 0.6101 GB, free: 1.008 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/0.4694, allocations: 1.228 MB / 0.6113 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007152/0.4702, allocations: 338.9 kB / 0.6116 GB, free: 15.38 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.4703, allocations: 31.7 kB / 0.6117 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005571/0.4709, allocations: 35.98 kB / 0.6117 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.4711, allocations: 60.52 kB / 0.6118 GB, free: 15.26 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.878e-05/0.4711, allocations: 31.92 kB / 0.6118 GB, free: 15.23 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001465/0.4726, allocations: 0.9423 MB / 0.6127 GB, free: 14.29 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4726, allocations: 0 / 0.6127 GB, free: 14.29 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001336/0.474, allocations: 423.2 kB / 0.6131 GB, free: 13.88 MB / 478.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.002208/0.4762, allocations: 0.7493 MB / 0.6138 GB, free: 13.36 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002178/0.4784, allocations: 0.8551 MB / 0.6147 GB, free: 12.48 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.4784, allocations: 0 / 0.6147 GB, free: 12.48 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009542/0.4794, allocations: 0.5756 MB / 0.6152 GB, free: 11.88 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002235/0.4816, allocations: 415.9 kB / 0.6156 GB, free: 11.52 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004898/0.4865, allocations: 3.027 MB / 0.6186 GB, free: 8.453 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008872/0.4874, allocations: 1.212 MB / 0.6198 GB, free: 7.211 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004045/0.4878, allocations: 127.4 kB / 0.6199 GB, free: 7.086 MB / 478.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4878, allocations: 0 / 0.6199 GB, free: 7.086 MB / 478.1 MB Notification: Performance of Templates: time 0.04265/0.5305, allocations: 31.62 MB / 0.6508 GB, free: 7.699 MB / 0.4981 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches