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) 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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 108 kB / 15.61 MB, free: 152 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.002086/0.002086, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.78/1.78, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 1.049/1.049, allocations: 93.71 MB / 384.1 MB, free: 6.984 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002459/0.002459, allocations: 87.83 kB / 463.5 MB, free: 22.01 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.214, allocations: 68.27 MB / 0.5193 GB, free: 6.922 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.076/0.29, allocations: 53.25 MB / 0.5713 GB, free: 1.484 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5115/0.8016, allocations: 21.58 MB / 0.5924 GB, free: 5.91 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004466/0.8062, allocations: 67.78 kB / 0.5924 GB, free: 5.91 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005056/0.8113, allocations: 0.8988 MB / 0.5933 GB, free: 5.906 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01105/0.8225, allocations: 1.697 MB / 0.595 GB, free: 5.852 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007378/0.8299, allocations: 1.329 MB / 0.5963 GB, free: 5.812 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.008279/0.8383, allocations: 2.551 MB / 0.5988 GB, free: 5.809 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/0.84, allocations: 500 kB / 0.5992 GB, free: 5.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004886/0.8449, allocations: 1.044 MB / 0.6003 GB, free: 5.598 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003196/0.8481, allocations: 0.9422 MB / 0.6012 GB, free: 5.359 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000472/0.8486, allocations: 128.1 kB / 0.6013 GB, free: 5.359 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00715/0.8558, allocations: 1.241 MB / 0.6025 GB, free: 5.309 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005771/0.8564, allocations: 345.4 kB / 0.6028 GB, free: 5.23 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002618/0.859, allocations: 0.9032 MB / 0.6037 GB, free: 4.922 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01101/0.87, allocations: 2.599 MB / 0.6063 GB, free: 4.461 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.8701, allocations: 0 / 0.6063 GB, free: 4.461 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.8701, allocations: 0 / 0.6063 GB, free: 4.461 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.653e-05/0.8702, allocations: 0.5625 kB / 0.6063 GB, free: 4.461 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: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.0074/0.8776, allocations: 2.359 MB / 0.6086 GB, free: 19.27 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/0.8777, allocations: 8.094 kB / 0.6086 GB, free: 19.27 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002397/0.8779, allocations: 175.7 kB / 0.6087 GB, free: 19.22 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005055/0.8784, allocations: 217.3 kB / 0.609 GB, free: 19.11 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002515/0.8809, allocations: 1.173 MB / 0.6101 GB, free: 18.66 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.8811, allocations: 85.16 kB / 0.6102 GB, free: 18.65 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002021/0.8813, allocations: 121.8 kB / 0.6103 GB, free: 18.65 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002476/0.8838, allocations: 1.201 MB / 0.6115 GB, free: 18.53 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/0.8839, allocations: 1.75 kB / 0.6115 GB, free: 18.53 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.913e-05/0.884, allocations: 46.75 kB / 0.6115 GB, free: 18.53 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/0.884, allocations: 30.06 kB / 0.6115 GB, free: 18.53 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00248/0.8865, allocations: 1.134 MB / 0.6126 GB, free: 18.51 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01082/0.8973, allocations: 5.044 MB / 0.6176 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002401/0.8998, allocations: 0.9144 MB / 0.6185 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009805/0.9008, allocations: 478.2 kB / 0.6189 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009357/0.9101, allocations: 5.154 MB / 0.624 GB, free: 11.21 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.63e-05/0.9103, allocations: 44.95 kB / 0.624 GB, free: 11.17 MB / 478.1 MB Notification: Performance of pre-optimization done (n=103): time 3.066e-06/0.9103, allocations: 0 / 0.624 GB, free: 11.17 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.004966/0.9152, allocations: 1.724 MB / 0.6257 GB, free: 10.72 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.942e-05/0.9153, allocations: 66.25 kB / 0.6257 GB, free: 10.66 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002999/0.9184, allocations: 1.273 MB / 0.627 GB, free: 10.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.921e-05/0.9185, allocations: 44.7 kB / 0.627 GB, free: 10.47 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008447/0.9193, allocations: 0.7572 MB / 0.6278 GB, free: 10.25 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003297/0.9197, allocations: 359.4 kB / 0.6281 GB, free: 10.02 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004275/0.9201, allocations: 180 kB / 0.6283 GB, free: 9.996 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002247/0.9203, allocations: 339.8 kB / 0.6286 GB, free: 9.691 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006529/0.921, allocations: 297.9 kB / 0.6289 GB, free: 9.691 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008317/0.9219, allocations: 439.7 kB / 0.6293 GB, free: 9.574 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.9234, allocations: 0.7654 MB / 0.6301 GB, free: 9.18 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.9234, allocations: 5.062 kB / 0.6301 GB, free: 9.176 MB / 478.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003093/0.9265, allocations: 1.146 MB / 0.6312 GB, free: 8.691 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.9266, allocations: 5.5 kB / 0.6312 GB, free: 8.691 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.9266, allocations: 8.031 kB / 0.6312 GB, free: 8.688 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007187/0.9273, allocations: 167.3 kB / 0.6314 GB, free: 8.625 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007881/0.9281, allocations: 196.3 kB / 0.6315 GB, free: 8.613 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005867/0.934, allocations: 4.809 MB / 0.6362 GB, free: 4.055 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.9355, allocations: 87.72 kB / 0.6363 GB, free: 3.992 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/0.9356, allocations: 41.11 kB / 0.6364 GB, free: 3.984 MB / 478.1 MB 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.0009821/0.9366, allocations: 277.7 kB / 0.6366 GB, free: 3.777 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004969/0.9371, allocations: 170.1 kB / 0.6368 GB, free: 3.684 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003982/0.9411, allocations: 1.654 MB / 0.6384 GB, free: 2.926 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.9412, allocations: 10.75 kB / 0.6384 GB, free: 2.926 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.9412, allocations: 2.438 kB / 0.6384 GB, free: 2.926 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/0.9412, allocations: 5.203 kB / 0.6384 GB, free: 2.926 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005523/0.9467, allocations: 2.638 MB / 0.641 GB, free: 1.562 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.9468, allocations: 2.375 kB / 0.641 GB, free: 1.562 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000604/0.9474, allocations: 172.7 kB / 0.6412 GB, free: 1.523 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006912/0.9481, allocations: 163.9 kB / 0.6413 GB, free: 1.426 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-05/0.9482, allocations: 31.05 kB / 0.6414 GB, free: 1.406 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006432/0.9546, allocations: 4.828 MB / 0.6461 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.9546, allocations: 2.938 kB / 0.6461 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003755/0.9584, allocations: 1.624 MB / 0.6477 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009117/0.9593, allocations: 344.3 kB / 0.648 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/0.9596, allocations: 23.56 kB / 0.648 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006132/0.9602, allocations: 24.7 kB / 0.648 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/0.9604, allocations: 85.23 kB / 0.6481 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.9605, allocations: 46.31 kB / 0.6482 GB, free: 11.33 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001567/0.9621, allocations: 0.9035 MB / 0.649 GB, free: 10.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9621, allocations: 0 / 0.649 GB, free: 10.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002176/0.9643, allocations: 0.5959 MB / 0.6496 GB, free: 10.65 MB / 494.1 MB 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.005555/0.9699, allocations: 2.794 MB / 0.6523 GB, free: 8.934 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003599/0.9735, allocations: 1.222 MB / 0.6535 GB, free: 8.191 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.9735, allocations: 0 / 0.6535 GB, free: 8.191 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001539/0.975, allocations: 0.8298 MB / 0.6544 GB, free: 7.629 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00316/0.9782, allocations: 0.5379 MB / 0.6549 GB, free: 7.328 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02632/1.005, allocations: 11.97 MB / 0.6666 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001614/1.006, allocations: 1.269 MB / 0.6678 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00226/1.008, allocations: 295.5 kB / 0.6681 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001621/1.01, allocations: 0.7023 MB / 0.6688 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of SimCode: time 3.857e-06/1.01, allocations: 0 / 0.6688 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1529/1.163, allocations: 44.93 MB / 0.7127 GB, free: 14.44 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/14.41, allocations: 10.55 kB / 0.7127 GB, free: 14.43 MB / 0.545 GB (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 & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.csv --start-time 0 --stop-time 20 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_BasicControlValve.fmu > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.csv","/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) Reference file matches