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.001511/0.001511, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001883/0.001883, allocations: 217.8 kB / 22.25 MB, free: 5.105 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.403/1.403, allocations: 230.6 MB / 256 MB, free: 7.84 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.013/3.013, allocations: 0.49 GB / 0.7951 GB, free: 35.51 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.00198/0.00198, allocations: 69.08 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3329, allocations: 176.1 MB / 1.326 GB, free: 1.574 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01725/0.3502, allocations: 13.85 MB / 1.339 GB, free: 3.668 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005142/0.3553, allocations: 3.508 MB / 1.343 GB, free: 156 kB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003886/0.3557, allocations: 23.81 kB / 1.343 GB, free: 132 kB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000545/0.3562, allocations: 166.8 kB / 1.343 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.3573, allocations: 422 kB / 1.343 GB, free: 15.55 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009463/0.3582, allocations: 349.4 kB / 1.344 GB, free: 15.21 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0009682/0.3592, allocations: 0.7841 MB / 1.344 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004138/0.3596, allocations: 228.6 kB / 1.345 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.3606, allocations: 482 kB / 1.345 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003377/0.3609, allocations: 234.9 kB / 1.345 GB, free: 13.5 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.076e-05/0.361, allocations: 20 kB / 1.345 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004504/0.3614, allocations: 187.6 kB / 1.346 GB, free: 13.3 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.3615, allocations: 75.69 kB / 1.346 GB, free: 13.22 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.3617, allocations: 115.5 kB / 1.346 GB, free: 13.11 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000593/0.3623, allocations: 430.3 kB / 1.346 GB, free: 12.69 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3623, allocations: 3.938 kB / 1.346 GB, free: 12.68 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3623, allocations: 0 / 1.346 GB, free: 12.68 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.3623, allocations: 0 / 1.346 GB, free: 12.68 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.0009598/0.3632, allocations: 0.5361 MB / 1.347 GB, free: 12.11 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.3633, allocations: 8.031 kB / 1.347 GB, free: 12.11 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.59e-05/0.3634, allocations: 54.73 kB / 1.347 GB, free: 12.04 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.881e-05/0.3635, allocations: 44.69 kB / 1.347 GB, free: 12 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006931/0.3642, allocations: 265.4 kB / 1.347 GB, free: 11.71 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.3642, allocations: 16.81 kB / 1.347 GB, free: 11.7 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.741e-05/0.3642, allocations: 20.38 kB / 1.347 GB, free: 11.68 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000718/0.365, allocations: 312.7 kB / 1.347 GB, free: 11.35 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.365, allocations: 0 / 1.347 GB, free: 11.35 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.365, allocations: 12 kB / 1.347 GB, free: 11.34 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.365, allocations: 8 kB / 1.347 GB, free: 11.33 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005309/0.3655, allocations: 176.5 kB / 1.348 GB, free: 11.16 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.367, allocations: 0.7154 MB / 1.348 GB, free: 10.4 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/0.3674, allocations: 137.1 kB / 1.348 GB, free: 10.25 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.3676, allocations: 89.64 kB / 1.348 GB, free: 10.15 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002142/0.3678, allocations: 39.97 kB / 1.349 GB, free: 10.11 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.883e-05/0.3679, allocations: 38.56 kB / 1.349 GB, free: 10.07 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 2.284e-06/0.3679, allocations: 0 / 1.349 GB, free: 10.07 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0008037/0.3687, allocations: 253.3 kB / 1.349 GB, free: 9.812 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.874e-05/0.3688, allocations: 81.11 kB / 1.349 GB, free: 9.715 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.3691, allocations: 268.2 kB / 1.349 GB, free: 9.438 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.3691, allocations: 25.7 kB / 1.349 GB, free: 9.406 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.3692, allocations: 180.3 kB / 1.349 GB, free: 9.227 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.3693, allocations: 43.58 kB / 1.349 GB, free: 9.184 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.48e-05/0.3693, allocations: 41.7 kB / 1.349 GB, free: 9.137 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.3695, allocations: 334.8 kB / 1.35 GB, free: 8.801 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.3697, allocations: 55.95 kB / 1.35 GB, free: 8.746 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/0.37, allocations: 276.1 kB / 1.35 GB, free: 8.418 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004197/0.3704, allocations: 180.4 kB / 1.35 GB, free: 8.227 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3705, allocations: 0 / 1.35 GB, free: 8.227 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005151/0.371, allocations: 217.2 kB / 1.35 GB, free: 8.008 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.371, allocations: 6.031 kB / 1.35 GB, free: 8.004 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.371, allocations: 0 / 1.35 GB, free: 8.004 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.371, allocations: 4 kB / 1.35 GB, free: 8 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.3713, allocations: 51.94 kB / 1.35 GB, free: 7.949 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.3713, allocations: 0 / 1.35 GB, free: 7.949 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.3715, allocations: 35.95 kB / 1.351 GB, free: 7.914 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.3715, allocations: 11.94 kB / 1.351 GB, free: 7.902 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.0001425/0.3716, allocations: 149.7 kB / 1.351 GB, free: 7.746 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.543e-05/0.3717, allocations: 31.75 kB / 1.351 GB, free: 7.715 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/0.372, allocations: 179.3 kB / 1.351 GB, free: 7.535 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.372, allocations: 4 kB / 1.351 GB, free: 7.531 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.372, allocations: 0 / 1.351 GB, free: 7.531 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.372, allocations: 0 / 1.351 GB, free: 7.531 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008169/0.3729, allocations: 0.5671 MB / 1.351 GB, free: 6.902 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3729, allocations: 0 / 1.351 GB, free: 6.902 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.3731, allocations: 55.94 kB / 1.351 GB, free: 6.848 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3731, allocations: 0 / 1.351 GB, free: 6.848 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.3731, allocations: 4 kB / 1.351 GB, free: 6.844 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.3731, allocations: 7.938 kB / 1.352 GB, free: 6.836 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3731, allocations: 0 / 1.352 GB, free: 6.836 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006462/0.3738, allocations: 438 kB / 1.352 GB, free: 6.379 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.993e-05/0.3739, allocations: 55.72 kB / 1.352 GB, free: 6.324 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.3739, allocations: 4 kB / 1.352 GB, free: 6.32 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.3741, allocations: 23.91 kB / 1.352 GB, free: 6.297 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.308e-05/0.3742, allocations: 19.95 kB / 1.352 GB, free: 6.277 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.3742, allocations: 11.98 kB / 1.352 GB, free: 6.266 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001865/0.3744, allocations: 195.1 kB / 1.352 GB, free: 6.078 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3744, allocations: 4 kB / 1.352 GB, free: 6.074 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004331/0.3748, allocations: 87.75 kB / 1.352 GB, free: 5.988 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.001223/0.376, allocations: 1.064 MB / 1.353 GB, free: 4.883 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005159/0.3766, allocations: 179.6 kB / 1.354 GB, free: 4.707 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3766, allocations: 0 / 1.354 GB, free: 4.707 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002708/0.3768, allocations: 112.3 kB / 1.354 GB, free: 4.598 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007928/0.3776, allocations: 115.6 kB / 1.354 GB, free: 4.488 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00363/0.3813, allocations: 2.639 MB / 1.356 GB, free: 1.719 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.3814, allocations: 166.8 kB / 1.356 GB, free: 1.535 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001644/0.3816, allocations: 62.22 kB / 1.357 GB, free: 1.477 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.3817, allocations: 83.41 kB / 1.357 GB, free: 1.395 MB / 1.045 GB Notification: Performance of SimCode: time 4.21e-07/0.3817, allocations: 0 / 1.357 GB, free: 1.395 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03778/0.4195, allocations: 9.152 MB / 1.366 GB, free: 8.496 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.15, allocations: 4.344 kB / 1.366 GB, free: 8.496 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.527439099998446]