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.001368/0.001368, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001615/0.001615, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.531/1.531, allocations: 230.6 MB / 256 MB, free: 7.977 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.35/3.35, allocations: 0.49 GB / 0.7951 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 176] 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.002113/0.002113, allocations: 68.7 kB / 1.154 GB, free: 25.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3882, allocations: 176.1 MB / 1.326 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.0217/0.4099, allocations: 15.15 MB / 1.341 GB, free: 2.758 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005582/0.4155, allocations: 3.804 MB / 1.344 GB, free: 14.95 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004892/0.416, allocations: 23.81 kB / 1.344 GB, free: 14.92 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005963/0.4165, allocations: 162.7 kB / 1.345 GB, free: 14.76 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.4177, allocations: 433.9 kB / 1.345 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.4187, allocations: 357.9 kB / 1.345 GB, free: 13.99 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001106/0.4198, allocations: 0.7802 MB / 1.346 GB, free: 13.21 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004532/0.4202, allocations: 216.8 kB / 1.346 GB, free: 13 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.4214, allocations: 489.9 kB / 1.347 GB, free: 12.52 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003786/0.4217, allocations: 223 kB / 1.347 GB, free: 12.3 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.386e-05/0.4218, allocations: 20 kB / 1.347 GB, free: 12.28 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005965/0.4224, allocations: 251.5 kB / 1.347 GB, free: 12.03 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.4225, allocations: 75.7 kB / 1.347 GB, free: 11.96 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.4226, allocations: 139.3 kB / 1.347 GB, free: 11.82 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007118/0.4234, allocations: 438.3 kB / 1.348 GB, free: 11.39 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4234, allocations: 0 / 1.348 GB, free: 11.39 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4234, allocations: 3.938 kB / 1.348 GB, free: 11.39 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.4234, allocations: 0 / 1.348 GB, free: 11.39 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.0009554/0.4243, allocations: 0.5361 MB / 1.348 GB, free: 10.82 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.4244, allocations: 8.031 kB / 1.348 GB, free: 10.81 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.133e-05/0.4245, allocations: 62.72 kB / 1.348 GB, free: 10.74 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.62e-05/0.4245, allocations: 40.64 kB / 1.348 GB, free: 10.7 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005516/0.4251, allocations: 261.4 kB / 1.349 GB, free: 10.42 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.4251, allocations: 20.8 kB / 1.349 GB, free: 10.4 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.4252, allocations: 24.38 kB / 1.349 GB, free: 10.38 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005569/0.4257, allocations: 253.3 kB / 1.349 GB, free: 10.12 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.4257, allocations: 0 / 1.349 GB, free: 10.12 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.4257, allocations: 8 kB / 1.349 GB, free: 10.11 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.4258, allocations: 8 kB / 1.349 GB, free: 10.1 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004801/0.4262, allocations: 186.5 kB / 1.349 GB, free: 9.922 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.4276, allocations: 0.8006 MB / 1.35 GB, free: 9.062 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.4279, allocations: 137.1 kB / 1.35 GB, free: 8.91 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.4281, allocations: 85.66 kB / 1.35 GB, free: 8.82 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001938/0.4283, allocations: 47.97 kB / 1.35 GB, free: 8.773 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.4283, allocations: 30.56 kB / 1.35 GB, free: 8.734 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.4283, allocations: 0 / 1.35 GB, free: 8.734 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.000786/0.4291, allocations: 265.5 kB / 1.351 GB, free: 8.469 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.4292, allocations: 77.11 kB / 1.351 GB, free: 8.375 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.4295, allocations: 268.2 kB / 1.351 GB, free: 8.098 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.4295, allocations: 29.7 kB / 1.351 GB, free: 8.062 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.4297, allocations: 172.3 kB / 1.351 GB, free: 7.891 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.034e-05/0.4297, allocations: 47.58 kB / 1.351 GB, free: 7.844 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.866e-05/0.4298, allocations: 41.7 kB / 1.351 GB, free: 7.797 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.4299, allocations: 330.8 kB / 1.351 GB, free: 7.465 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.4301, allocations: 64.19 kB / 1.352 GB, free: 7.402 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/0.4304, allocations: 121.9 kB / 1.352 GB, free: 7.262 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004132/0.4308, allocations: 172.2 kB / 1.352 GB, free: 7.078 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.4308, allocations: 4 kB / 1.352 GB, free: 7.074 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005384/0.4313, allocations: 213.2 kB / 1.352 GB, free: 6.859 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.4313, allocations: 4 kB / 1.352 GB, free: 6.855 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.4313, allocations: 4 kB / 1.352 GB, free: 6.852 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.4314, allocations: 4.031 kB / 1.352 GB, free: 6.848 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.4316, allocations: 56.03 kB / 1.352 GB, free: 6.793 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4316, allocations: 0 / 1.352 GB, free: 6.793 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.4318, allocations: 39.8 kB / 1.352 GB, free: 6.754 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.4319, allocations: 4 kB / 1.352 GB, free: 6.75 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.0001552/0.432, allocations: 149.7 kB / 1.352 GB, free: 6.594 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.046e-05/0.4321, allocations: 27.81 kB / 1.352 GB, free: 6.566 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/0.4324, allocations: 191.2 kB / 1.352 GB, free: 6.375 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.4324, allocations: 4 kB / 1.352 GB, free: 6.371 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.4324, allocations: 3.984 kB / 1.352 GB, free: 6.367 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4325, allocations: 0 / 1.352 GB, free: 6.367 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008867/0.4333, allocations: 0.5825 MB / 1.353 GB, free: 5.723 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4333, allocations: 128 / 1.353 GB, free: 5.723 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.4336, allocations: 51.95 kB / 1.353 GB, free: 5.672 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4336, allocations: 0 / 1.353 GB, free: 5.672 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.4336, allocations: 7.984 kB / 1.353 GB, free: 5.664 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.4336, allocations: 7.938 kB / 1.353 GB, free: 5.656 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4336, allocations: 0 / 1.353 GB, free: 5.656 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006655/0.4343, allocations: 439.3 kB / 1.354 GB, free: 5.199 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.967e-05/0.4344, allocations: 47.72 kB / 1.354 GB, free: 5.152 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.4344, allocations: 8.125 kB / 1.354 GB, free: 5.145 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.4347, allocations: 23.97 kB / 1.354 GB, free: 5.121 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/0.4347, allocations: 23.86 kB / 1.354 GB, free: 5.098 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.4347, allocations: 7.984 kB / 1.354 GB, free: 5.09 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002227/0.435, allocations: 195.1 kB / 1.354 GB, free: 4.902 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.435, allocations: 0 / 1.354 GB, free: 4.902 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004762/0.4354, allocations: 87.77 kB / 1.354 GB, free: 4.816 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.001257/0.4367, allocations: 1.054 MB / 1.355 GB, free: 3.719 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005497/0.4372, allocations: 188.9 kB / 1.355 GB, free: 3.535 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4372, allocations: 4 kB / 1.355 GB, free: 3.531 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002706/0.4375, allocations: 99.86 kB / 1.355 GB, free: 3.434 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008299/0.4384, allocations: 119.9 kB / 1.355 GB, free: 3.316 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003878/0.4422, allocations: 2.643 MB / 1.358 GB, free: 0.543 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.4427, allocations: 0.7791 MB / 1.359 GB, free: 15.74 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001998/0.4429, allocations: 50.25 kB / 1.359 GB, free: 15.69 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.443, allocations: 91.34 kB / 1.359 GB, free: 15.6 MB / 1.061 GB Notification: Performance of SimCode: time 1.052e-06/0.443, allocations: 0 / 1.359 GB, free: 15.6 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04127/0.4843, allocations: 8.303 MB / 1.367 GB, free: 7.504 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.89, allocations: 9.156 kB / 1.367 GB, free: 7.496 MB / 1.061 GB " [Timeout remaining time 288] (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: 19.091253824000887]