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.001333/0.001333, allocations: 103 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.001479/0.001479, 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.429/1.429, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.103/3.103, allocations: 0.49 GB / 0.7916 GB, free: 33.2 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.001954/0.001954, allocations: 70.09 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3302, allocations: 176.1 MB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01706/0.3472, allocations: 15.01 MB / 1.335 GB, free: 4.258 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005194/0.3524, allocations: 3.765 MB / 1.339 GB, free: 496 kB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004701/0.3529, allocations: 19.81 kB / 1.339 GB, free: 476 kB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006062/0.3535, allocations: 174.7 kB / 1.339 GB, free: 300 kB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.3545, allocations: 430 kB / 1.34 GB, free: 15.87 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000864/0.3554, allocations: 326.6 kB / 1.34 GB, free: 15.55 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0008764/0.3563, allocations: 0.7685 MB / 1.341 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003886/0.3567, allocations: 236.1 kB / 1.341 GB, free: 14.55 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008904/0.3575, allocations: 485.9 kB / 1.341 GB, free: 14.08 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002822/0.3578, allocations: 223 kB / 1.342 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.854e-05/0.3579, allocations: 20 kB / 1.342 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004445/0.3583, allocations: 235.6 kB / 1.342 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.867e-05/0.3584, allocations: 75.69 kB / 1.342 GB, free: 13.54 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.3585, allocations: 135.3 kB / 1.342 GB, free: 13.4 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006038/0.3592, allocations: 438.3 kB / 1.343 GB, free: 12.97 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3592, allocations: 4 kB / 1.343 GB, free: 12.97 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3592, allocations: 0 / 1.343 GB, free: 12.97 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.3592, allocations: 0 / 1.343 GB, free: 12.97 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.0008981/0.3601, allocations: 0.6152 MB / 1.343 GB, free: 12.3 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.3601, allocations: 15.97 kB / 1.343 GB, free: 12.29 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.961e-05/0.3602, allocations: 62.67 kB / 1.343 GB, free: 12.21 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.433e-05/0.3602, allocations: 36.7 kB / 1.343 GB, free: 12.18 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004679/0.3607, allocations: 323.3 kB / 1.344 GB, free: 11.82 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.3607, allocations: 16.81 kB / 1.344 GB, free: 11.81 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.774e-05/0.3608, allocations: 24.38 kB / 1.344 GB, free: 11.79 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005337/0.3613, allocations: 261.3 kB / 1.344 GB, free: 11.52 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3613, allocations: 4 kB / 1.344 GB, free: 11.51 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.3613, allocations: 8 kB / 1.344 GB, free: 11.5 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.3613, allocations: 4 kB / 1.344 GB, free: 11.5 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005069/0.3619, allocations: 184.6 kB / 1.344 GB, free: 11.32 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.3631, allocations: 0.8275 MB / 1.345 GB, free: 10.43 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/0.3634, allocations: 145.1 kB / 1.345 GB, free: 10.27 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.3637, allocations: 85.81 kB / 1.345 GB, free: 10.18 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004389/0.3641, allocations: 0.4947 MB / 1.346 GB, free: 9.57 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.3641, allocations: 38.56 kB / 1.346 GB, free: 9.523 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/0.3641, allocations: 0 / 1.346 GB, free: 9.523 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0008159/0.365, allocations: 249.3 kB / 1.346 GB, free: 9.273 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.365, allocations: 89.11 kB / 1.346 GB, free: 9.168 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.3653, allocations: 263 kB / 1.346 GB, free: 8.902 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.3653, allocations: 29.7 kB / 1.346 GB, free: 8.867 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.3655, allocations: 176.3 kB / 1.346 GB, free: 8.691 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.3655, allocations: 39.64 kB / 1.346 GB, free: 8.652 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.801e-05/0.3656, allocations: 33.7 kB / 1.346 GB, free: 8.613 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3657, allocations: 338.8 kB / 1.347 GB, free: 8.273 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.3659, allocations: 63.95 kB / 1.347 GB, free: 8.211 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000266/0.3662, allocations: 126.1 kB / 1.347 GB, free: 8.066 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004335/0.3666, allocations: 180.2 kB / 1.347 GB, free: 7.875 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3666, allocations: 0 / 1.347 GB, free: 7.875 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005262/0.3672, allocations: 205.3 kB / 1.347 GB, free: 7.668 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3672, allocations: 8 kB / 1.347 GB, free: 7.66 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3672, allocations: 0 / 1.347 GB, free: 7.66 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3672, allocations: 4 kB / 1.347 GB, free: 7.656 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.3675, allocations: 55.88 kB / 1.347 GB, free: 7.602 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.138e-06/0.3675, allocations: 7.938 kB / 1.347 GB, free: 7.594 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.3677, allocations: 31.95 kB / 1.347 GB, free: 7.562 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.3677, allocations: 8 kB / 1.347 GB, free: 7.555 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.0001441/0.3679, allocations: 149.7 kB / 1.348 GB, free: 7.398 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.505e-05/0.3679, allocations: 31.81 kB / 1.348 GB, free: 7.367 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00032/0.3683, allocations: 179.2 kB / 1.348 GB, free: 7.188 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.3683, allocations: 4.094 kB / 1.348 GB, free: 7.184 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3683, allocations: 3.938 kB / 1.348 GB, free: 7.18 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3683, allocations: 4 kB / 1.348 GB, free: 7.176 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008445/0.3691, allocations: 0.599 MB / 1.348 GB, free: 6.508 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.3691, allocations: 4 kB / 1.348 GB, free: 6.504 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.3694, allocations: 52.08 kB / 1.348 GB, free: 6.453 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.3694, allocations: 4 kB / 1.348 GB, free: 6.449 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.3694, allocations: 0 / 1.348 GB, free: 6.449 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.3694, allocations: 7.984 kB / 1.348 GB, free: 6.441 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.3694, allocations: 3.938 kB / 1.348 GB, free: 6.438 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006513/0.3701, allocations: 429.9 kB / 1.349 GB, free: 5.988 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.3702, allocations: 124.9 kB / 1.349 GB, free: 5.848 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.3702, allocations: 4.125 kB / 1.349 GB, free: 5.844 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.3704, allocations: 23.97 kB / 1.349 GB, free: 5.82 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/0.3705, allocations: 23.86 kB / 1.349 GB, free: 5.797 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.3705, allocations: 12 kB / 1.349 GB, free: 5.785 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000197/0.3707, allocations: 190 kB / 1.349 GB, free: 5.598 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3707, allocations: 0 / 1.349 GB, free: 5.598 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000445/0.3712, allocations: 91.75 kB / 1.349 GB, free: 5.508 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.00121/0.3724, allocations: 1.062 MB / 1.35 GB, free: 4.402 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005263/0.3729, allocations: 175.9 kB / 1.35 GB, free: 4.23 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3729, allocations: 0 / 1.35 GB, free: 4.23 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002741/0.3732, allocations: 103.9 kB / 1.351 GB, free: 4.129 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000798/0.374, allocations: 118.8 kB / 1.351 GB, free: 4.016 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003636/0.3776, allocations: 2.637 MB / 1.353 GB, free: 1.254 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.378, allocations: 0.7753 MB / 1.354 GB, free: 464 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001705/0.3782, allocations: 54.33 kB / 1.354 GB, free: 408 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.3783, allocations: 91.34 kB / 1.354 GB, free: 316 kB / 1.045 GB Notification: Performance of SimCode: time 6.81e-07/0.3783, allocations: 0 / 1.354 GB, free: 316 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03587/0.4142, allocations: 8.129 MB / 1.362 GB, free: 8.367 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.265/8.679, allocations: 14.39 kB / 1.362 GB, free: 8.355 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.138217846862972]