Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.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.PCV,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.PCV,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV",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.001553/0.001553, 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.002056/0.002056, allocations: 192.7 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.705/1.705, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9598/0.9598, allocations: 91.19 MB / 381.6 MB, free: 9.457 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001712, allocations: 77.41 kB / 460.4 MB, free: 23.03 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2031, allocations: 67.69 MB / 0.5157 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.7154/0.9186, allocations: 189.2 MB / 0.7005 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02713/0.9458, allocations: 17.79 MB / 0.7179 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00338/0.9493, allocations: 67.56 kB / 0.7179 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003572/0.9528, allocations: 0.9898 MB / 0.7189 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008889/0.9618, allocations: 2.335 MB / 0.7212 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006631/0.9685, allocations: 1.834 MB / 0.723 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008012/0.9765, allocations: 3.537 MB / 0.7264 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001666/0.9783, allocations: 463.7 kB / 0.7269 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00491/0.9832, allocations: 1.521 MB / 0.7284 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003581/0.9868, allocations: 1.545 MB / 0.7299 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.00134/0.9882, allocations: 172 kB / 0.73 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009082/0.9973, allocations: 2.558 MB / 0.7325 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001477/0.9988, allocations: 458 kB / 0.733 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00336/1.002, allocations: 1.077 MB / 0.734 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01094/1.013, allocations: 3.155 MB / 0.7371 GB, free: 12.81 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.587e-05/1.013, allocations: 0 / 0.7371 GB, free: 12.81 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.417e-06/1.013, allocations: 0 / 0.7371 GB, free: 12.81 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001948/1.014, allocations: 0 / 0.7371 GB, free: 12.81 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.008612/1.022, allocations: 2.609 MB / 0.7396 GB, free: 10.14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.282e-05/1.022, allocations: 8.031 kB / 0.7396 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006098/1.023, allocations: 211.1 kB / 0.7398 GB, free: 9.922 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/1.024, allocations: 250.3 kB / 0.7401 GB, free: 9.676 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002999/1.027, allocations: 1.189 MB / 0.7412 GB, free: 8.434 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/1.027, allocations: 110.9 kB / 0.7414 GB, free: 8.324 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004346/1.028, allocations: 163.7 kB / 0.7415 GB, free: 8.164 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003851/1.032, allocations: 1.635 MB / 0.7431 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.8e-05/1.032, allocations: 0 / 0.7431 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001985/1.032, allocations: 68 kB / 0.7432 GB, free: 6.402 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-05/1.032, allocations: 36 kB / 0.7432 GB, free: 6.367 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003157/1.035, allocations: 1.477 MB / 0.7447 GB, free: 4.887 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01439/1.049, allocations: 7.18 MB / 0.7517 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004083/1.054, allocations: 1.551 MB / 0.7532 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001557/1.055, allocations: 0.76 MB / 0.7539 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009982/1.065, allocations: 5.947 MB / 0.7597 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.497e-05/1.065, allocations: 59.75 kB / 0.7598 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=166): time 4.899e-06/1.065, allocations: 0 / 0.7598 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of matching and sorting (n=166): time 0.00963/1.075, allocations: 3.142 MB / 0.7629 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/1.075, allocations: 179 kB / 0.763 GB, free: 428 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002644/1.078, allocations: 1.281 MB / 0.7643 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003423/1.078, allocations: 61.7 kB / 0.7643 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001057/1.079, allocations: 0.7685 MB / 0.7651 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009856/1.08, allocations: 0.5698 MB / 0.7656 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008558/1.081, allocations: 295.5 kB / 0.7659 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001829/1.081, allocations: 305.1 kB / 0.7662 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/1.083, allocations: 499.8 kB / 0.7667 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/1.084, allocations: 0.825 MB / 0.7675 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003049/1.087, allocations: 1.445 MB / 0.7689 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.153e-05/1.087, allocations: 0 / 0.7689 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004595/1.092, allocations: 1.864 MB / 0.7707 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.406e-05/1.092, allocations: 8 kB / 0.7707 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-05/1.092, allocations: 12 kB / 0.7707 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009626/1.093, allocations: 224.3 kB / 0.771 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/1.095, allocations: 379.4 kB / 0.7713 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006714/1.101, allocations: 7.68 MB / 0.7788 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/1.103, allocations: 166.2 kB / 0.779 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000267/1.103, allocations: 71.98 kB / 0.779 GB, free: 14.96 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (201): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009774/1.104, allocations: 337.4 kB / 0.7794 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008007/1.105, allocations: 193.6 kB / 0.7796 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004913/1.11, allocations: 2.061 MB / 0.7816 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.494e-05/1.11, allocations: 20 kB / 0.7816 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.629e-05/1.11, allocations: 7.938 kB / 0.7816 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.218e-05/1.11, allocations: 7.969 kB / 0.7816 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008604/1.119, allocations: 3.936 MB / 0.7854 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.92e-05/1.119, allocations: 7.938 kB / 0.7855 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/1.12, allocations: 259.7 kB / 0.7857 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002213/1.122, allocations: 471.5 kB / 0.7862 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002493/1.123, allocations: 55.97 kB / 0.7862 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009197/1.132, allocations: 9.967 MB / 0.7959 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.255e-05/1.132, allocations: 4 kB / 0.7959 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007369/1.139, allocations: 2.875 MB / 0.7987 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008842/1.14, allocations: 274.6 kB / 0.799 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004855/1.141, allocations: 47.84 kB / 0.7991 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001833/1.143, allocations: 59.95 kB / 0.7991 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004019/1.143, allocations: 136.6 kB / 0.7992 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002391/1.143, allocations: 67.95 kB / 0.7993 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002052/1.145, allocations: 0.8887 MB / 0.8002 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.91e-07/1.145, allocations: 0 / 0.8002 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003487/1.149, allocations: 0.7763 MB / 0.8009 GB, free: 7.449 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 13 (volumeFlex2.M,volumeFlex2.U_med,volumeFlex.M,volumeFlex.U_med,flowResistance.inlet.m_flow,volumeFlex1.M,volumeFlex1.U_med,volumeFlex3.M,volumeFlex3.U_med,flowResistance1.inlet.m_flow,pCV2.inlet.m_flow,pCV3.inlet.m_flow,pCV4.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 (140): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,3), (2,3), (2,3), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00851/1.157, allocations: 4.079 MB / 0.8049 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005633/1.163, allocations: 2.057 MB / 0.8069 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.848e-05/1.163, allocations: 0 / 0.8069 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003808/1.167, allocations: 1.443 MB / 0.8083 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005332/1.172, allocations: 0.6114 MB / 0.8089 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4245/1.597, allocations: 15.94 MB / 0.8245 GB, free: 233.7 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002223/1.599, allocations: 1.329 MB / 0.8258 GB, free: 233 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002841/1.602, allocations: 348.7 kB / 0.8261 GB, free: 232.9 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001504/1.604, allocations: 0.7643 MB / 0.8269 GB, free: 232.9 MB / 0.6231 GB Notification: Performance of SimCode: time 1.864e-06/1.604, allocations: 5.156 kB / 0.8269 GB, free: 232.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1564/1.76, allocations: 53.48 MB / 0.8791 GB, free: 203.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.2/17.96, allocations: 19.34 kB / 0.8791 GB, free: 203.8 MB / 0.6231 GB (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.PCV_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches