Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.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/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 192 kB / 16.53 MB, free: 6.391 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6486/0.6486, allocations: 89.46 MB / 379.8 MB, free: 10.98 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 81.36 kB / 458.2 MB, free: 23.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1337, allocations: 67.3 MB / 0.5132 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.4468/0.5805, allocations: 164.2 MB / 0.6735 GB, free: 9.441 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01425/0.5948, allocations: 12.86 MB / 0.6861 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009786/0.5958, allocations: 16.31 kB / 0.6861 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001925/0.5978, allocations: 0.5714 MB / 0.6866 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002781/0.6007, allocations: 0.8279 MB / 0.6874 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002781/0.6035, allocations: 0.8159 MB / 0.6882 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001865/0.6054, allocations: 1.23 MB / 0.6894 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005724/0.606, allocations: 306.8 kB / 0.6897 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.607, allocations: 0.4933 MB / 0.6902 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.608, allocations: 0.6401 MB / 0.6908 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001911/0.6082, allocations: 75.44 kB / 0.6909 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002968/0.6112, allocations: 1.395 MB / 0.6923 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000207/0.6114, allocations: 192.3 kB / 0.6925 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000688/0.6121, allocations: 487.7 kB / 0.6929 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002758/0.6149, allocations: 1.42 MB / 0.6943 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.6149, allocations: 4 kB / 0.6943 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6149, allocations: 0 / 0.6943 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.73e-05/0.615, allocations: 0 / 0.6943 GB, free: 9.32 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002678/0.6177, allocations: 1.299 MB / 0.6956 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.6177, allocations: 8.031 kB / 0.6956 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002381/0.618, allocations: 107.6 kB / 0.6957 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009048/0.6189, allocations: 0.5539 MB / 0.6962 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.244e-05/0.6189, allocations: 54.38 kB / 0.6963 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.6191, allocations: 72.38 kB / 0.6964 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.6203, allocations: 0.7394 MB / 0.6971 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.6204, allocations: 0 / 0.6971 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.577e-05/0.6204, allocations: 28 kB / 0.6971 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.6205, allocations: 16 kB / 0.6971 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.6215, allocations: 0.6324 MB / 0.6977 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003515/0.6251, allocations: 3.098 MB / 0.7008 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.6262, allocations: 0.5714 MB / 0.7013 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004177/0.6267, allocations: 268 kB / 0.7016 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002267/0.6289, allocations: 2.588 MB / 0.7041 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.629, allocations: 43.06 kB / 0.7041 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=55): time 1.643e-06/0.629, allocations: 0 / 0.7041 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=56): time 0.003266/0.6323, allocations: 1.727 MB / 0.7058 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.6323, allocations: 63.89 kB / 0.7059 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006483/0.633, allocations: 0.5667 MB / 0.7064 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.633, allocations: 41.7 kB / 0.7065 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.6333, allocations: 376.3 kB / 0.7068 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.6334, allocations: 197.1 kB / 0.707 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.6336, allocations: 94.16 kB / 0.7071 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.6337, allocations: 378.8 kB / 0.7075 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000335/0.6341, allocations: 161 kB / 0.7076 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.6344, allocations: 239.2 kB / 0.7079 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007293/0.6352, allocations: 427.8 kB / 0.7083 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.6352, allocations: 1 kB / 0.7083 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001197/0.6364, allocations: 0.6315 MB / 0.7089 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.6364, allocations: 5.875 kB / 0.7089 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.6364, allocations: 7.938 kB / 0.7089 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000422/0.6369, allocations: 116.8 kB / 0.709 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.6372, allocations: 91.89 kB / 0.7091 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002141/0.6394, allocations: 2.046 MB / 0.7111 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003482/0.6397, allocations: 16.03 kB / 0.7111 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-05/0.6398, allocations: 27.98 kB / 0.7111 GB, free: 6.906 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002682/0.6401, allocations: 201.7 kB / 0.7113 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.6402, allocations: 72.02 kB / 0.7114 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.6418, allocations: 0.8585 MB / 0.7122 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.6418, allocations: 8 kB / 0.7123 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6418, allocations: 0 / 0.7123 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.6418, allocations: 3.984 kB / 0.7123 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/0.6441, allocations: 1.5 MB / 0.7137 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.6441, allocations: 7.875 kB / 0.7137 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003296/0.6444, allocations: 92.95 kB / 0.7138 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003768/0.6448, allocations: 120.8 kB / 0.7139 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.224e-05/0.6449, allocations: 19.98 kB / 0.714 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001972/0.6468, allocations: 2.055 MB / 0.716 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.6468, allocations: 0 / 0.716 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.6484, allocations: 0.956 MB / 0.7169 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.6486, allocations: 148.1 kB / 0.717 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-05/0.6487, allocations: 12 kB / 0.717 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003218/0.649, allocations: 19.98 kB / 0.7171 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.6491, allocations: 48.56 kB / 0.7171 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/0.6492, allocations: 20 kB / 0.7171 GB, free: 484 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004807/0.6497, allocations: 439 kB / 0.7175 GB, free: 52 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6497, allocations: 0 / 0.7175 GB, free: 52 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009841/0.6507, allocations: 323.9 kB / 0.7179 GB, free: 15.73 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance1.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 (48): * Single equations (assignments): 47 * Array equations: 0 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009098/0.6516, allocations: 483.3 kB / 0.7183 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001396/0.653, allocations: 0.6386 MB / 0.7189 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.653, allocations: 0 / 0.7189 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007468/0.6537, allocations: 442.1 kB / 0.7194 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.655, allocations: 267.4 kB / 0.7196 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.6576, allocations: 1.44 MB / 0.721 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005549/0.6582, allocations: 0.9574 MB / 0.722 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004803/0.6587, allocations: 132.8 kB / 0.7221 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.6589, allocations: 63.42 kB / 0.7221 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of SimCode: time 6.21e-07/0.6589, allocations: 3.938 kB / 0.7222 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of Templates: time 0.02603/0.6849, allocations: 16.15 MB / 0.7379 GB, free: 11.21 MB / 0.545 GB make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.makefile (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches