Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 211 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.395/1.395, allocations: 230.6 MB / 256 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.04/3.04, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_12_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_12_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 61.94 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.345, allocations: 176.1 MB / 1.325 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01821/0.3632, allocations: 13.86 MB / 1.339 GB, free: 4.461 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005032/0.3683, allocations: 3.508 MB / 1.342 GB, free: 0.9492 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000457/0.3687, allocations: 23.81 kB / 1.342 GB, free: 0.9258 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005525/0.3693, allocations: 170.7 kB / 1.342 GB, free: 0.7578 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.3704, allocations: 422 kB / 1.343 GB, free: 352 kB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009067/0.3713, allocations: 338.1 kB / 1.343 GB, free: 16 kB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009992/0.3723, allocations: 0.7725 MB / 1.344 GB, free: 15.24 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004615/0.3728, allocations: 224.6 kB / 1.344 GB, free: 15.02 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009945/0.3738, allocations: 486 kB / 1.344 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003533/0.3741, allocations: 219 kB / 1.345 GB, free: 14.33 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.911e-05/0.3742, allocations: 23.94 kB / 1.345 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004231/0.3746, allocations: 183.6 kB / 1.345 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.3747, allocations: 87.67 kB / 1.345 GB, free: 14.04 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.3748, allocations: 111.5 kB / 1.345 GB, free: 13.93 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006274/0.3755, allocations: 422.4 kB / 1.345 GB, free: 13.52 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3755, allocations: 0 / 1.345 GB, free: 13.52 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3755, allocations: 0 / 1.345 GB, free: 13.52 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.3755, allocations: 0 / 1.345 GB, free: 13.52 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008844/0.3764, allocations: 0.5361 MB / 1.346 GB, free: 12.95 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3764, allocations: 12.02 kB / 1.346 GB, free: 12.93 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.951e-05/0.3765, allocations: 58.67 kB / 1.346 GB, free: 12.87 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.532e-05/0.3765, allocations: 44.7 kB / 1.346 GB, free: 12.82 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005292/0.3771, allocations: 257.5 kB / 1.346 GB, free: 12.55 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.3771, allocations: 20.81 kB / 1.346 GB, free: 12.53 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.3771, allocations: 24.38 kB / 1.346 GB, free: 12.5 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006063/0.3777, allocations: 312.6 kB / 1.347 GB, free: 12.18 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.3778, allocations: 0 / 1.347 GB, free: 12.18 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.3778, allocations: 8 kB / 1.347 GB, free: 12.17 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.3778, allocations: 8 kB / 1.347 GB, free: 12.16 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004894/0.3783, allocations: 184.5 kB / 1.347 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.3796, allocations: 0.7075 MB / 1.347 GB, free: 11.23 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.38, allocations: 145.1 kB / 1.348 GB, free: 11.07 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.3802, allocations: 85.59 kB / 1.348 GB, free: 10.98 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001946/0.3804, allocations: 39.97 kB / 1.348 GB, free: 10.94 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.3804, allocations: 34.56 kB / 1.348 GB, free: 10.89 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 2.034e-06/0.3804, allocations: 0 / 1.348 GB, free: 10.89 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0008359/0.3813, allocations: 269.5 kB / 1.348 GB, free: 10.62 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/0.3813, allocations: 77.11 kB / 1.348 GB, free: 10.53 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.3816, allocations: 264.2 kB / 1.348 GB, free: 10.26 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.3817, allocations: 29.7 kB / 1.348 GB, free: 10.22 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.3818, allocations: 172.3 kB / 1.349 GB, free: 10.05 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.3819, allocations: 47.58 kB / 1.349 GB, free: 10 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.978e-05/0.3819, allocations: 37.7 kB / 1.349 GB, free: 9.961 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3821, allocations: 334.8 kB / 1.349 GB, free: 9.625 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.3823, allocations: 63.94 kB / 1.349 GB, free: 9.562 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.3826, allocations: 276.2 kB / 1.349 GB, free: 9.234 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003983/0.383, allocations: 168.1 kB / 1.349 GB, free: 9.055 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.383, allocations: 4 kB / 1.349 GB, free: 9.051 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005061/0.3835, allocations: 209.3 kB / 1.35 GB, free: 8.84 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3836, allocations: 4 kB / 1.35 GB, free: 8.836 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3836, allocations: 0 / 1.35 GB, free: 8.836 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.3836, allocations: 7.984 kB / 1.35 GB, free: 8.828 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.3839, allocations: 55.98 kB / 1.35 GB, free: 8.773 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3839, allocations: 3.938 kB / 1.35 GB, free: 8.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.3841, allocations: 31.86 kB / 1.35 GB, free: 8.738 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.3841, allocations: 8.375 kB / 1.35 GB, free: 8.73 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001589/0.3843, allocations: 147.5 kB / 1.35 GB, free: 8.578 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.433e-05/0.3843, allocations: 27.81 kB / 1.35 GB, free: 8.551 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003622/0.3847, allocations: 188.8 kB / 1.35 GB, free: 8.363 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.3847, allocations: 4 kB / 1.35 GB, free: 8.359 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.3847, allocations: 7.984 kB / 1.35 GB, free: 8.352 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3847, allocations: 0 / 1.35 GB, free: 8.352 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009006/0.3856, allocations: 0.5669 MB / 1.351 GB, free: 7.723 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.3856, allocations: 0 / 1.351 GB, free: 7.723 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.3859, allocations: 51.94 kB / 1.351 GB, free: 7.672 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.3859, allocations: 4.125 kB / 1.351 GB, free: 7.668 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.3859, allocations: 4 kB / 1.351 GB, free: 7.664 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.3859, allocations: 4 kB / 1.351 GB, free: 7.66 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3859, allocations: 320 / 1.351 GB, free: 7.66 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006644/0.3866, allocations: 447.7 kB / 1.351 GB, free: 7.195 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.3867, allocations: 51.72 kB / 1.351 GB, free: 7.145 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.3867, allocations: 4 kB / 1.351 GB, free: 7.141 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.3869, allocations: 19.98 kB / 1.351 GB, free: 7.121 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.408e-05/0.387, allocations: 23.91 kB / 1.351 GB, free: 7.098 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.387, allocations: 7.938 kB / 1.351 GB, free: 7.09 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001963/0.3872, allocations: 195.1 kB / 1.351 GB, free: 6.902 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3872, allocations: 0 / 1.351 GB, free: 6.902 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004596/0.3877, allocations: 91.75 kB / 1.351 GB, free: 6.812 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001214/0.3889, allocations: 1.058 MB / 1.353 GB, free: 5.711 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005456/0.3894, allocations: 179.7 kB / 1.353 GB, free: 5.535 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.3894, allocations: 4 kB / 1.353 GB, free: 5.531 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002636/0.3897, allocations: 103.8 kB / 1.353 GB, free: 5.43 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007865/0.3905, allocations: 117 kB / 1.353 GB, free: 5.316 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003626/0.3941, allocations: 2.641 MB / 1.355 GB, free: 2.543 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.3943, allocations: 166.8 kB / 1.356 GB, free: 2.359 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001839/0.3945, allocations: 58.27 kB / 1.356 GB, free: 2.305 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.3946, allocations: 83.41 kB / 1.356 GB, free: 2.223 MB / 1.045 GB Notification: Performance of SimCode: time 5.01e-07/0.3946, allocations: 0 / 1.356 GB, free: 2.223 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03936/0.4339, allocations: 9.083 MB / 1.365 GB, free: 9.391 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.33, allocations: 6.219 kB / 1.365 GB, free: 9.387 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable ram_m_flow.y in file Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv. Warning: Get data of variable ram_m_flow.y from file Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv failed! Error: Could not read variable massFlowRateMultiplier.port_a.m_flow in file Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv. Warning: Get data of variable massFlowRateMultiplier.port_a.m_flow from file Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv failed! Error: Could not read variable massFlowRateMultiplier.port_b.m_flow in file Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv. Warning: Get data of variable massFlowRateMultiplier.port_b.m_flow from file Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv failed! Error: Could not read variable massFlowRateMultiplier1.port_b.m_flow in file Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv. Warning: Get data of variable massFlowRateMultiplier1.port_b.m_flow from file Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.829004448838532]