Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_ThermofluidStream_FlowControl_Tests_PCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.PCV,fileNamePrefix="ThermofluidStream_dev_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.002322/0.002338, 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.003113/0.003113, allocations: 193.5 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 2.395/2.395, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 1.374/1.374, allocations: 93.7 MB / 384.1 MB, free: 6.992 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.003059/0.003059, allocations: 81.02 kB / 463.5 MB, free: 21.97 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3189, allocations: 68.27 MB / 0.5193 GB, free: 6.914 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 1.203/1.522, allocations: 189.2 MB / 0.7041 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.05099/1.573, allocations: 17.83 MB / 0.7215 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006498/1.58, allocations: 63.56 kB / 0.7216 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.007584/1.587, allocations: 0.9975 MB / 0.7225 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01772/1.605, allocations: 2.37 MB / 0.7249 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01329/1.618, allocations: 1.827 MB / 0.7266 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01186/1.63, allocations: 3.616 MB / 0.7302 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003206/1.634, allocations: 460.5 kB / 0.7306 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007993/1.642, allocations: 1.552 MB / 0.7321 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005358/1.647, allocations: 1.553 MB / 0.7336 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002262/1.649, allocations: 168 kB / 0.7338 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01461/1.664, allocations: 2.562 MB / 0.7363 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002316/1.667, allocations: 454.1 kB / 0.7367 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.006018/1.673, allocations: 1.084 MB / 0.7378 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01826/1.691, allocations: 3.182 MB / 0.7409 GB, free: 7.824 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.701e-05/1.691, allocations: 4 kB / 0.7409 GB, free: 7.82 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.999e-06/1.691, allocations: 0 / 0.7409 GB, free: 7.82 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.000125/1.691, allocations: 0 / 0.7409 GB, free: 7.82 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.009641/1.701, allocations: 2.624 MB / 0.7435 GB, free: 5.137 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 8.654e-05/1.701, allocations: 8.031 kB / 0.7435 GB, free: 5.129 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004116/1.701, allocations: 219.1 kB / 0.7437 GB, free: 4.906 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/1.703, allocations: 249.2 kB / 0.7439 GB, free: 4.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004502/1.707, allocations: 1.221 MB / 0.7451 GB, free: 3.387 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/1.707, allocations: 110.9 kB / 0.7452 GB, free: 3.277 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002987/1.708, allocations: 159.9 kB / 0.7454 GB, free: 3.121 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003867/1.711, allocations: 1.647 MB / 0.747 GB, free: 1.418 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.871e-05/1.712, allocations: 0 / 0.747 GB, free: 1.418 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001763/1.712, allocations: 64 kB / 0.747 GB, free: 1.355 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.931e-05/1.712, allocations: 36 kB / 0.7471 GB, free: 1.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004285/1.716, allocations: 1.485 MB / 0.7485 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01892/1.735, allocations: 7.191 MB / 0.7556 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004769/1.74, allocations: 1.541 MB / 0.7571 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002273/1.742, allocations: 0.7589 MB / 0.7578 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01288/1.755, allocations: 5.955 MB / 0.7636 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001071/1.755, allocations: 59.75 kB / 0.7637 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=166): time 4.809e-06/1.755, allocations: 0 / 0.7637 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=166): time 0.01067/1.766, allocations: 3.145 MB / 0.7667 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002919/1.766, allocations: 175 kB / 0.7669 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003444/1.77, allocations: 1.307 MB / 0.7682 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001543/1.77, allocations: 61.64 kB / 0.7682 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001062/1.771, allocations: 0.7882 MB / 0.769 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007561/1.772, allocations: 0.5698 MB / 0.7696 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005739/1.773, allocations: 295.4 kB / 0.7699 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002802/1.773, allocations: 301.1 kB / 0.7701 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/1.774, allocations: 499.8 kB / 0.7706 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002675/1.777, allocations: 0.8256 MB / 0.7714 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003348/1.78, allocations: 1.437 MB / 0.7728 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/1.78, allocations: 4 kB / 0.7728 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.005934/1.786, allocations: 1.852 MB / 0.7746 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.486e-05/1.786, allocations: 16.03 kB / 0.7747 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.583e-05/1.786, allocations: 8 kB / 0.7747 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/1.787, allocations: 232 kB / 0.7749 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/1.789, allocations: 388.5 kB / 0.7753 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/1.8, allocations: 7.68 MB / 0.7828 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003606/1.804, allocations: 162.3 kB / 0.7829 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002612/1.804, allocations: 79.92 kB / 0.783 GB, free: 9.867 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.001384/1.806, allocations: 337.3 kB / 0.7833 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006982/1.806, allocations: 189.7 kB / 0.7835 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007186/1.814, allocations: 2.074 MB / 0.7855 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.561e-05/1.814, allocations: 20 kB / 0.7855 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/1.814, allocations: 4 kB / 0.7855 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.179e-05/1.814, allocations: 7.969 kB / 0.7855 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01087/1.825, allocations: 3.953 MB / 0.7894 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/1.825, allocations: 4.031 kB / 0.7894 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/1.826, allocations: 263.6 kB / 0.7897 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003461/1.829, allocations: 467.2 kB / 0.7901 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001569/1.829, allocations: 59.91 kB / 0.7902 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01339/1.843, allocations: 9.971 MB / 0.7999 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.667e-05/1.843, allocations: 7.984 kB / 0.7999 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009064/1.852, allocations: 2.879 MB / 0.8027 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002393/1.855, allocations: 278.3 kB / 0.803 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004541/1.855, allocations: 43.84 kB / 0.803 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/1.857, allocations: 59.95 kB / 0.8031 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004508/1.857, allocations: 132.6 kB / 0.8032 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002054/1.857, allocations: 71.95 kB / 0.8033 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001825/1.859, allocations: 0.9015 MB / 0.8042 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/1.859, allocations: 0 / 0.8042 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005177/1.864, allocations: 0.7764 MB / 0.8049 GB, free: 2.312 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.01018/1.875, allocations: 4.076 MB / 0.8089 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.007254/1.882, allocations: 2.05 MB / 0.8109 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/1.882, allocations: 11.95 kB / 0.8109 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003273/1.885, allocations: 1.436 MB / 0.8123 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005279/1.89, allocations: 0.6286 MB / 0.8129 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6355/2.526, allocations: 16.09 MB / 0.8286 GB, free: 229.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003822/2.53, allocations: 1.34 MB / 0.83 GB, free: 228.8 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002429/2.532, allocations: 345 kB / 0.8303 GB, free: 228.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001477/2.534, allocations: 0.7798 MB / 0.831 GB, free: 228.4 MB / 0.6231 GB Notification: Performance of SimCode: time 2.234e-06/2.534, allocations: 2.625 kB / 0.831 GB, free: 228.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2317/2.766, allocations: 53.8 MB / 0.8836 GB, free: 197 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.22/24.99, allocations: 15.23 kB / 0.8836 GB, free: 197 MB / 0.6231 GB (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_PCV_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_PCV.fmu > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.PCV_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches