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.001291/0.001291, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 196.3 kB / 16.14 MB, free: 6.703 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.22/1.22, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6074/0.6074, allocations: 89.52 MB / 379.5 MB, free: 11.28 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.001425/0.001425, allocations: 82.67 kB / 457.7 MB, free: 23.85 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1151, allocations: 67.31 MB / 0.5127 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.4736/0.5887, allocations: 187.8 MB / 0.6961 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02205/0.6108, allocations: 18 MB / 0.7137 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002979/0.6138, allocations: 27.88 kB / 0.7137 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002788/0.6167, allocations: 0.8549 MB / 0.7145 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006647/0.6233, allocations: 2.127 MB / 0.7166 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005446/0.6288, allocations: 1.626 MB / 0.7182 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005965/0.6348, allocations: 4.346 MB / 0.7224 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007816/0.6356, allocations: 399.2 kB / 0.7228 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003109/0.6387, allocations: 1.319 MB / 0.7241 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002709/0.6414, allocations: 1.522 MB / 0.7256 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006305/0.6421, allocations: 104 kB / 0.7257 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006495/0.6486, allocations: 2.538 MB / 0.7282 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006642/0.6492, allocations: 374.2 kB / 0.7285 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00129/0.6505, allocations: 0.9637 MB / 0.7295 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004598/0.6551, allocations: 2.96 MB / 0.7324 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.6552, allocations: 0 / 0.7324 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6552, allocations: 4 kB / 0.7324 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.99e-05/0.6552, allocations: 0 / 0.7324 GB, free: 2.289 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.004445/0.6597, allocations: 2.417 MB / 0.7347 GB, free: 15.81 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.6597, allocations: 8.031 kB / 0.7347 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002444/0.66, allocations: 215.3 kB / 0.7349 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000578/0.6605, allocations: 226.4 kB / 0.7352 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.6619, allocations: 0.9385 MB / 0.7361 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.662, allocations: 115.2 kB / 0.7362 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/0.6622, allocations: 164.3 kB / 0.7363 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002556/0.6648, allocations: 1.635 MB / 0.7379 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/0.6648, allocations: 0 / 0.7379 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.6649, allocations: 67.98 kB / 0.738 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.058e-05/0.665, allocations: 36 kB / 0.738 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002396/0.6674, allocations: 1.481 MB / 0.7395 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008234/0.6756, allocations: 7.099 MB / 0.7464 GB, free: 3.156 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/0.6783, allocations: 1.547 MB / 0.7479 GB, free: 1.559 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/0.6794, allocations: 0.7568 MB / 0.7487 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005811/0.6852, allocations: 5.951 MB / 0.7545 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.815e-05/0.6853, allocations: 67.67 kB / 0.7545 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=166): time 3.106e-06/0.6853, allocations: 3.938 kB / 0.7545 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of matching and sorting (n=166): time 0.006185/0.6915, allocations: 3.124 MB / 0.7576 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.6916, allocations: 183 kB / 0.7578 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.693, allocations: 1.087 MB / 0.7588 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.6931, allocations: 57.7 kB / 0.7589 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005268/0.6936, allocations: 0.6888 MB / 0.7596 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004364/0.6941, allocations: 0.5659 MB / 0.7601 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004137/0.6945, allocations: 295.5 kB / 0.7604 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.6946, allocations: 301.1 kB / 0.7607 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009053/0.6955, allocations: 0.492 MB / 0.7612 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.6967, allocations: 0.8289 MB / 0.762 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00215/0.6988, allocations: 1.433 MB / 0.7634 GB, free: 428 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.6989, allocations: 8 kB / 0.7634 GB, free: 420 kB / 0.5606 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.00319/0.7021, allocations: 1.827 MB / 0.7652 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.7021, allocations: 11.94 kB / 0.7652 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.7021, allocations: 8 kB / 0.7652 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007483/0.7029, allocations: 232.2 kB / 0.7654 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.7042, allocations: 375.4 kB / 0.7658 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005885/0.7101, allocations: 7.137 MB / 0.7727 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.7111, allocations: 174.4 kB / 0.7729 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/0.7113, allocations: 87.84 kB / 0.773 GB, free: 5.879 MB / 0.5762 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.0005639/0.7119, allocations: 321.3 kB / 0.7733 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003546/0.7122, allocations: 173.9 kB / 0.7734 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003939/0.7162, allocations: 2.046 MB / 0.7754 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.7162, allocations: 16 kB / 0.7755 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/0.7162, allocations: 4 kB / 0.7755 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/0.7163, allocations: 11.97 kB / 0.7755 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006271/0.7225, allocations: 3.876 MB / 0.7793 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.7226, allocations: 0 / 0.7793 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009728/0.7235, allocations: 259.6 kB / 0.7795 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001705/0.7253, allocations: 471.3 kB / 0.78 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/0.7254, allocations: 55.97 kB / 0.78 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006966/0.7324, allocations: 9.429 MB / 0.7892 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.7324, allocations: 7.938 kB / 0.7892 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004566/0.737, allocations: 2.858 MB / 0.792 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003605/0.7373, allocations: 250.7 kB / 0.7923 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002287/0.7376, allocations: 39.94 kB / 0.7923 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.7387, allocations: 91.7 kB / 0.7924 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002323/0.7389, allocations: 136.6 kB / 0.7925 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/0.7391, allocations: 67.95 kB / 0.7926 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009809/0.7401, allocations: 0.7678 MB / 0.7933 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7401, allocations: 3.938 kB / 0.7933 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002008/0.7421, allocations: 0.7763 MB / 0.7941 GB, free: 15.17 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.006065/0.7482, allocations: 4.052 MB / 0.798 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003209/0.7514, allocations: 2.002 MB / 0.8 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.7514, allocations: 0 / 0.8 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002371/0.7538, allocations: 1.429 MB / 0.8014 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002713/0.7565, allocations: 0.5483 MB / 0.8019 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02332/0.7798, allocations: 15.42 MB / 0.817 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/0.7809, allocations: 1.269 MB / 0.8182 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001467/0.7824, allocations: 324.6 kB / 0.8185 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009832/0.7834, allocations: 0.675 MB / 0.8192 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of SimCode: time 1.412e-06/0.7834, allocations: 0 / 0.8192 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.336/1.119, allocations: 49.62 MB / 0.8676 GB, free: 217.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/1.12, allocations: 233.2 kB / 0.8679 GB, free: 217.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.273/4.393, allocations: 3.828 kB / 0.8679 GB, free: 217.5 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1) diffSimulationResults("ThermofluidStream_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_ThermofluidStream.FlowControl.Tests.PCV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches