Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001186/0.001186, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001381/0.001381, allocations: 219.6 kB / 22.26 MB, free: 5.117 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.31/1.31, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.912/2.912, allocations: 0.505 GB / 0.8101 GB, free: 22.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_latest_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.001851/0.001851, allocations: 76.92 kB / 1.177 GB, free: 17.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2944, allocations: 180.2 MB / 1.353 GB, free: 8.523 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01619/0.3106, allocations: 15.16 MB / 1.368 GB, free: 9.305 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004629/0.3153, allocations: 3.788 MB / 1.371 GB, free: 5.504 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002309/0.3155, allocations: 19.81 kB / 1.371 GB, free: 5.484 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004449/0.3159, allocations: 166.7 kB / 1.372 GB, free: 5.32 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0007869/0.3167, allocations: 429.9 kB / 1.372 GB, free: 4.898 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007875/0.3175, allocations: 366.4 kB / 1.372 GB, free: 4.543 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000835/0.3183, allocations: 0.7841 MB / 1.373 GB, free: 3.758 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000355/0.3187, allocations: 224.6 kB / 1.373 GB, free: 3.539 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008133/0.3195, allocations: 478.1 kB / 1.374 GB, free: 3.07 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003112/0.3198, allocations: 234.9 kB / 1.374 GB, free: 2.84 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.278e-05/0.3199, allocations: 20 kB / 1.374 GB, free: 2.82 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004227/0.3203, allocations: 243.6 kB / 1.374 GB, free: 2.582 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.434e-05/0.3204, allocations: 71.69 kB / 1.374 GB, free: 2.512 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.3205, allocations: 147.3 kB / 1.374 GB, free: 2.367 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005386/0.3211, allocations: 442.2 kB / 1.375 GB, free: 1.934 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3211, allocations: 0 / 1.375 GB, free: 1.934 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3211, allocations: 4 kB / 1.375 GB, free: 1.93 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.3211, allocations: 0 / 1.375 GB, free: 1.93 MB / 1.061 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.0007971/0.3219, allocations: 0.5322 MB / 1.375 GB, free: 1.367 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.3219, allocations: 12.03 kB / 1.375 GB, free: 1.355 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.899e-05/0.322, allocations: 58.73 kB / 1.375 GB, free: 1.289 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/0.322, allocations: 32.75 kB / 1.375 GB, free: 1.258 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004762/0.3225, allocations: 269.4 kB / 1.376 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.3225, allocations: 12.81 kB / 1.376 GB, free: 0.957 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.3225, allocations: 28.31 kB / 1.376 GB, free: 0.9297 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004897/0.323, allocations: 257.3 kB / 1.376 GB, free: 0.6641 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.323, allocations: 3.984 kB / 1.376 GB, free: 0.6602 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.3231, allocations: 8 kB / 1.376 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.3231, allocations: 8 kB / 1.376 GB, free: 0.6445 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004364/0.3235, allocations: 184.5 kB / 1.376 GB, free: 476 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.3247, allocations: 0.785 MB / 1.377 GB, free: 15.62 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.325, allocations: 141.1 kB / 1.377 GB, free: 15.46 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.3252, allocations: 85.64 kB / 1.377 GB, free: 15.38 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/0.3254, allocations: 48.11 kB / 1.377 GB, free: 15.33 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.3254, allocations: 42.55 kB / 1.377 GB, free: 15.28 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.3254, allocations: 0 / 1.377 GB, free: 15.28 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.0007227/0.3261, allocations: 261.3 kB / 1.378 GB, free: 15.02 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.3262, allocations: 81.11 kB / 1.378 GB, free: 14.92 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.3264, allocations: 268.2 kB / 1.378 GB, free: 14.64 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.3265, allocations: 29.7 kB / 1.378 GB, free: 14.61 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.3266, allocations: 172.3 kB / 1.378 GB, free: 14.43 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.3266, allocations: 39.59 kB / 1.378 GB, free: 14.39 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.183e-05/0.3267, allocations: 37.7 kB / 1.378 GB, free: 14.35 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3268, allocations: 338.8 kB / 1.378 GB, free: 14.01 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.327, allocations: 67.94 kB / 1.378 GB, free: 13.95 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.3272, allocations: 113.9 kB / 1.379 GB, free: 13.81 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003778/0.3276, allocations: 168.1 kB / 1.379 GB, free: 13.63 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3276, allocations: 0 / 1.379 GB, free: 13.63 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000463/0.3281, allocations: 225.5 kB / 1.379 GB, free: 13.41 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.3281, allocations: 4 kB / 1.379 GB, free: 13.4 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.3281, allocations: 4 kB / 1.379 GB, free: 13.4 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.3281, allocations: 0 / 1.379 GB, free: 13.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.3284, allocations: 51.94 kB / 1.379 GB, free: 13.35 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3284, allocations: 0 / 1.379 GB, free: 13.35 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.3285, allocations: 35.92 kB / 1.379 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.3285, allocations: 11.98 kB / 1.379 GB, free: 13.3 MB / 1.076 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.000139/0.3287, allocations: 153.6 kB / 1.379 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.799e-05/0.3288, allocations: 27.84 kB / 1.379 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002902/0.329, allocations: 181.2 kB / 1.379 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.3291, allocations: 7.938 kB / 1.379 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3291, allocations: 0 / 1.379 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3291, allocations: 3.938 kB / 1.379 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000768/0.3298, allocations: 0.5864 MB / 1.38 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3298, allocations: 0 / 1.38 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.3301, allocations: 51.94 kB / 1.38 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.3301, allocations: 8.062 kB / 1.38 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.3301, allocations: 8 kB / 1.38 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3301, allocations: 0 / 1.38 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.3301, allocations: 4 kB / 1.38 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005952/0.3307, allocations: 445.8 kB / 1.381 GB, free: 11.74 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.472e-05/0.3308, allocations: 39.78 kB / 1.381 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/0.3308, allocations: 11.98 kB / 1.381 GB, free: 11.69 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.331, allocations: 11.98 kB / 1.381 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.858e-05/0.3311, allocations: 23.91 kB / 1.381 GB, free: 11.65 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.3311, allocations: 8 kB / 1.381 GB, free: 11.64 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001731/0.3312, allocations: 195.1 kB / 1.381 GB, free: 11.45 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3312, allocations: 0 / 1.381 GB, free: 11.45 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004039/0.3316, allocations: 91.75 kB / 1.381 GB, free: 11.36 MB / 1.076 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.001084/0.3327, allocations: 1.064 MB / 1.382 GB, free: 10.26 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000464/0.3332, allocations: 171.7 kB / 1.382 GB, free: 10.09 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3332, allocations: 4.188 kB / 1.382 GB, free: 10.09 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.3334, allocations: 104.1 kB / 1.382 GB, free: 9.984 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000726/0.3342, allocations: 123.8 kB / 1.382 GB, free: 9.863 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.3375, allocations: 2.644 MB / 1.385 GB, free: 7.098 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.3379, allocations: 0.7752 MB / 1.386 GB, free: 6.297 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001522/0.338, allocations: 62.58 kB / 1.386 GB, free: 6.234 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.3381, allocations: 91.39 kB / 1.386 GB, free: 6.145 MB / 1.076 GB Notification: Performance of SimCode: time 2.81e-07/0.3381, allocations: 0 / 1.386 GB, free: 6.145 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03446/0.3726, allocations: 8.305 MB / 1.394 GB, free: 14.04 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/10.47, allocations: 5.344 kB / 1.394 GB, free: 14.03 MB / 1.092 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv. Warning: Get data of variable ram_m_flow.y from file Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv failed! Error: Could not read variable massFlowRateMultiplier.port_a.m_flow in file Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv. Warning: Get data of variable massFlowRateMultiplier.port_a.m_flow from file Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv failed! Error: Could not read variable massFlowRateMultiplier.port_b.m_flow in file Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv. Warning: Get data of variable massFlowRateMultiplier.port_b.m_flow from file Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv failed! Error: Could not read variable massFlowRateMultiplier1.port_b.m_flow in file Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv. Warning: Get data of variable massFlowRateMultiplier1.port_b.m_flow from file Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.45201631300006]