Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 109 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 225.6 MB / 249.3 MB, free: 3.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5809/0.5809, allocations: 94.58 MB / 399 MB, free: 15.86 MB / 334.1 MB " [Timeout remaining time 179] 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.FlowControl.Tests.BasicControlValve,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_BasicControlValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.BasicControlValve,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_BasicControlValve",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002341/0.002341, allocations: 79.88 kB / 0.5442 GB, free: 12.64 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3387, allocations: 71.85 MB / 0.6144 GB, free: 3.867 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.05705/0.3958, allocations: 54.31 MB / 0.6674 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0264/0.4222, allocations: 21.81 MB / 0.6887 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001663/0.4238, allocations: 71.5 kB / 0.6888 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002246/0.4261, allocations: 0.9003 MB / 0.6897 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004422/0.4305, allocations: 1.727 MB / 0.6913 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00364/0.4341, allocations: 1.346 MB / 0.6927 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003264/0.4374, allocations: 2.567 MB / 0.6952 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005272/0.4379, allocations: 314.2 kB / 0.6955 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001795/0.4397, allocations: 1.077 MB / 0.6965 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.4408, allocations: 0.9561 MB / 0.6974 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003391/0.4412, allocations: 128 kB / 0.6976 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003424/0.4446, allocations: 1.276 MB / 0.6988 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003274/0.4449, allocations: 342.3 kB / 0.6991 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000991/0.4459, allocations: 0.8972 MB / 0.7 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004212/0.4501, allocations: 2.692 MB / 0.7026 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4501, allocations: 0 / 0.7026 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4501, allocations: 0 / 0.7026 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.271e-05/0.4501, allocations: 4 kB / 0.7026 GB, free: 10.41 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.004149/0.4543, allocations: 2.424 MB / 0.705 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.4543, allocations: 8.031 kB / 0.705 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001819/0.4545, allocations: 173.2 kB / 0.7052 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003258/0.4548, allocations: 226.5 kB / 0.7054 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002054/0.4569, allocations: 1.306 MB / 0.7067 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.457, allocations: 86.28 kB / 0.7068 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000214/0.4572, allocations: 120 kB / 0.7069 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.4591, allocations: 1.198 MB / 0.708 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.4591, allocations: 7.938 kB / 0.7081 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.115e-05/0.4592, allocations: 59.92 kB / 0.7081 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/0.4593, allocations: 28 kB / 0.7081 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/0.4611, allocations: 1.133 MB / 0.7092 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006269/0.4674, allocations: 5.009 MB / 0.7141 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.4688, allocations: 0.8203 MB / 0.7149 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007401/0.4695, allocations: 422.3 kB / 0.7153 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005411/0.475, allocations: 5.162 MB / 0.7204 GB, free: 6.742 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.475, allocations: 47.55 kB / 0.7204 GB, free: 6.688 MB / 0.545 GB Notification: Performance of pre-optimization done (n=103): time 2.084e-06/0.475, allocations: 0 / 0.7204 GB, free: 6.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=103): time 0.003548/0.4785, allocations: 1.723 MB / 0.7221 GB, free: 4.898 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.4786, allocations: 60.41 kB / 0.7222 GB, free: 4.828 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/0.4803, allocations: 1.284 MB / 0.7234 GB, free: 3.539 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.685e-05/0.4804, allocations: 45.7 kB / 0.7235 GB, free: 3.488 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005825/0.481, allocations: 0.766 MB / 0.7242 GB, free: 2.715 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003681/0.4813, allocations: 368.8 kB / 0.7246 GB, free: 2.352 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.4816, allocations: 178.5 kB / 0.7247 GB, free: 2.168 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.4817, allocations: 341.9 kB / 0.7251 GB, free: 1.828 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005675/0.4823, allocations: 297.9 kB / 0.7253 GB, free: 1.535 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007289/0.483, allocations: 442 kB / 0.7258 GB, free: 1.066 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.4844, allocations: 0.7698 MB / 0.7265 GB, free: 272 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4844, allocations: 8 kB / 0.7265 GB, free: 264 kB / 0.545 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002219/0.4866, allocations: 1.143 MB / 0.7276 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.4866, allocations: 8 kB / 0.7276 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.4867, allocations: 4 kB / 0.7277 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006477/0.4873, allocations: 162.7 kB / 0.7278 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007048/0.488, allocations: 191.7 kB / 0.728 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004321/0.4923, allocations: 4.821 MB / 0.7327 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007304/0.4931, allocations: 95.31 kB / 0.7328 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.83e-05/0.4931, allocations: 39.98 kB / 0.7328 GB, free: 9.359 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (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.0004574/0.4936, allocations: 281.6 kB / 0.7331 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002985/0.4939, allocations: 170.9 kB / 0.7333 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003058/0.4969, allocations: 1.638 MB / 0.7349 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.497, allocations: 8 kB / 0.7349 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.497, allocations: 4.188 kB / 0.7349 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/0.497, allocations: 15.91 kB / 0.7349 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0042/0.5012, allocations: 2.617 MB / 0.7374 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.5012, allocations: 0 / 0.7374 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005659/0.5017, allocations: 167.8 kB / 0.7376 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004908/0.5022, allocations: 174.5 kB / 0.7378 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.252e-05/0.5023, allocations: 35.97 kB / 0.7378 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004249/0.5066, allocations: 4.818 MB / 0.7425 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5066, allocations: 0 / 0.7425 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002737/0.5093, allocations: 1.627 MB / 0.7441 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005737/0.5099, allocations: 351.6 kB / 0.7444 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.51, allocations: 27.94 kB / 0.7445 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005355/0.5106, allocations: 27.92 kB / 0.7445 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.5107, allocations: 84.92 kB / 0.7446 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.546e-05/0.5108, allocations: 43.97 kB / 0.7446 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001218/0.512, allocations: 0.9093 MB / 0.7455 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.512, allocations: 0 / 0.7455 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001451/0.5135, allocations: 0.5961 MB / 0.7461 GB, free: 11.17 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (flowResistance6.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance4.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 (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (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.004041/0.5175, allocations: 2.804 MB / 0.7488 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001987/0.5195, allocations: 1.141 MB / 0.7499 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5195, allocations: 0 / 0.7499 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.5208, allocations: 0.8027 MB / 0.7507 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/0.5229, allocations: 0.5238 MB / 0.7512 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01634/0.5392, allocations: 10.7 MB / 0.7617 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008417/0.5401, allocations: 1.261 MB / 0.7629 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000926/0.541, allocations: 303.7 kB / 0.7632 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008478/0.5418, allocations: 0.6984 MB / 0.7639 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of SimCode: time 9.32e-07/0.5418, allocations: 4 kB / 0.7639 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.096/0.6378, allocations: 45.85 MB / 0.8087 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.85, allocations: 2.969 kB / 0.8087 GB, free: 10.95 MB / 0.6387 GB " [Timeout remaining time 647] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_BasicControlValve_fmu --startTime=0 --stopTime=20 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_BasicControlValve.fmu > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.BasicControlValve_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.140652231995773]