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.001352/0.001352, allocations: 102.2 kB / 16.45 MB, free: 6.449 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.001866/0.001866, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.423/1.423, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] 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 3.196/3.196, allocations: 0.505 GB / 0.8066 GB, free: 23.16 MB / 0.6231 GB " [Timeout remaining time 176] 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.002206/0.002206, allocations: 72.23 kB / 1.172 GB, free: 17.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3344, allocations: 180.2 MB / 1.348 GB, free: 10.02 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01941/0.3538, allocations: 15.03 MB / 1.362 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005488/0.3593, allocations: 3.753 MB / 1.366 GB, free: 7.164 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004403/0.3597, allocations: 19.81 kB / 1.366 GB, free: 7.145 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005718/0.3603, allocations: 174.7 kB / 1.366 GB, free: 6.973 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.3614, allocations: 422 kB / 1.367 GB, free: 6.559 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009507/0.3623, allocations: 341.3 kB / 1.367 GB, free: 6.23 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001048/0.3634, allocations: 0.7647 MB / 1.368 GB, free: 5.465 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000472/0.3639, allocations: 240.1 kB / 1.368 GB, free: 5.23 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.3649, allocations: 482 kB / 1.368 GB, free: 4.758 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003359/0.3653, allocations: 223 kB / 1.369 GB, free: 4.539 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.576e-05/0.3653, allocations: 20 kB / 1.369 GB, free: 4.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000553/0.3659, allocations: 239.5 kB / 1.369 GB, free: 4.285 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.366, allocations: 75.69 kB / 1.369 GB, free: 4.211 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.3662, allocations: 147.3 kB / 1.369 GB, free: 4.066 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000741/0.3669, allocations: 430.4 kB / 1.37 GB, free: 3.645 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.3669, allocations: 4 kB / 1.37 GB, free: 3.641 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3669, allocations: 0 / 1.37 GB, free: 3.641 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.3669, allocations: 0 / 1.37 GB, free: 3.641 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.0009802/0.3679, allocations: 0.6153 MB / 1.37 GB, free: 2.977 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.3679, allocations: 11.98 kB / 1.37 GB, free: 2.965 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.235e-05/0.368, allocations: 58.67 kB / 1.37 GB, free: 2.898 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.667e-05/0.3681, allocations: 36.75 kB / 1.37 GB, free: 2.863 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005232/0.3686, allocations: 323.2 kB / 1.371 GB, free: 2.508 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.3686, allocations: 20.81 kB / 1.371 GB, free: 2.488 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.3687, allocations: 28.31 kB / 1.371 GB, free: 2.461 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005642/0.3692, allocations: 257.3 kB / 1.371 GB, free: 2.195 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3692, allocations: 3.938 kB / 1.371 GB, free: 2.191 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.3693, allocations: 8 kB / 1.371 GB, free: 2.184 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.3693, allocations: 4 kB / 1.371 GB, free: 2.18 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005089/0.3698, allocations: 184.6 kB / 1.371 GB, free: 2 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.3712, allocations: 0.8315 MB / 1.372 GB, free: 1.102 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.3715, allocations: 141.1 kB / 1.372 GB, free: 0.9453 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.3718, allocations: 89.64 kB / 1.372 GB, free: 0.8516 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004374/0.3722, allocations: 0.4908 MB / 1.373 GB, free: 256 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.3723, allocations: 34.5 kB / 1.373 GB, free: 212 kB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.873e-06/0.3723, allocations: 0 / 1.373 GB, free: 212 kB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0008599/0.3731, allocations: 265.5 kB / 1.373 GB, free: 15.94 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.3732, allocations: 81.11 kB / 1.373 GB, free: 15.84 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.3735, allocations: 263 kB / 1.373 GB, free: 15.58 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/0.3735, allocations: 33.7 kB / 1.373 GB, free: 15.54 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.3736, allocations: 164.4 kB / 1.373 GB, free: 15.38 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.184e-05/0.3737, allocations: 47.8 kB / 1.373 GB, free: 15.33 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-05/0.3738, allocations: 33.7 kB / 1.373 GB, free: 15.29 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3739, allocations: 342.8 kB / 1.374 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.3741, allocations: 55.95 kB / 1.374 GB, free: 14.89 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.3744, allocations: 117.9 kB / 1.374 GB, free: 14.75 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004387/0.3749, allocations: 180.1 kB / 1.374 GB, free: 14.56 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3749, allocations: 0 / 1.374 GB, free: 14.56 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005605/0.3754, allocations: 213.2 kB / 1.374 GB, free: 14.35 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3754, allocations: 4 kB / 1.374 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3754, allocations: 4.078 kB / 1.374 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3755, allocations: 0 / 1.374 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.3757, allocations: 59.97 kB / 1.374 GB, free: 14.28 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.3758, allocations: 7.984 kB / 1.374 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.376, allocations: 35.81 kB / 1.374 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.376, allocations: 4 kB / 1.374 GB, free: 14.23 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.0001733/0.3762, allocations: 145.8 kB / 1.375 GB, free: 14.08 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.216e-05/0.3762, allocations: 23.86 kB / 1.375 GB, free: 14.06 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000343/0.3766, allocations: 183.2 kB / 1.375 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.3766, allocations: 12.31 kB / 1.375 GB, free: 13.86 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3766, allocations: 0 / 1.375 GB, free: 13.86 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3766, allocations: 0 / 1.375 GB, free: 13.86 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008829/0.3775, allocations: 0.603 MB / 1.375 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.3775, allocations: 4 kB / 1.375 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.3778, allocations: 52.02 kB / 1.375 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.3778, allocations: 4 kB / 1.375 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.3778, allocations: 0 / 1.375 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.3778, allocations: 7.984 kB / 1.375 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3778, allocations: 0 / 1.375 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006999/0.3785, allocations: 444 kB / 1.376 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.3786, allocations: 116.9 kB / 1.376 GB, free: 12.53 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.3786, allocations: 4 kB / 1.376 GB, free: 12.53 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.3789, allocations: 23.97 kB / 1.376 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.054e-05/0.3789, allocations: 19.92 kB / 1.376 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.3789, allocations: 4 kB / 1.376 GB, free: 12.48 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002079/0.3791, allocations: 194 kB / 1.376 GB, free: 12.29 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3791, allocations: 0 / 1.376 GB, free: 12.29 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004639/0.3796, allocations: 95.84 kB / 1.376 GB, free: 12.2 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.001282/0.3809, allocations: 1.062 MB / 1.377 GB, free: 11.09 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005508/0.3814, allocations: 175.8 kB / 1.377 GB, free: 10.92 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3814, allocations: 0 / 1.377 GB, free: 10.92 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002898/0.3817, allocations: 103.8 kB / 1.378 GB, free: 10.82 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008215/0.3826, allocations: 125.3 kB / 1.378 GB, free: 10.7 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003855/0.3864, allocations: 2.629 MB / 1.38 GB, free: 7.934 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.3868, allocations: 0.7714 MB / 1.381 GB, free: 7.137 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002032/0.387, allocations: 66.25 kB / 1.381 GB, free: 7.074 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.3872, allocations: 83.41 kB / 1.381 GB, free: 6.992 MB / 1.076 GB Notification: Performance of SimCode: time 8.11e-07/0.3872, allocations: 0 / 1.381 GB, free: 6.992 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03593/0.4231, allocations: 8.127 MB / 1.389 GB, free: 15.05 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.265/8.688, allocations: 15.94 kB / 1.389 GB, free: 15.03 MB / 1.092 GB " [Timeout remaining time 291] (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: 15.311469811946154]