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.0008007/0.0008007, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007756/0.0007756, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8706/0.8706, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 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 1.699/1.699, allocations: 389 MB / 0.633 GB, free: 12.65 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 4 kB / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.166e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01138/0.01141, allocations: 13.71 MB / 1.013 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.003635/0.01504, allocations: 3.468 MB / 1.016 GB, free: 12.27 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004103/0.01545, allocations: 15.88 kB / 1.016 GB, free: 12.26 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005127/0.01596, allocations: 182.6 kB / 1.017 GB, free: 12.08 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0009165/0.01688, allocations: 421.6 kB / 1.017 GB, free: 11.66 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007228/0.0176, allocations: 361 kB / 1.017 GB, free: 11.32 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0007055/0.01831, allocations: 0.7372 MB / 1.018 GB, free: 10.57 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003347/0.01864, allocations: 195.8 kB / 1.018 GB, free: 10.38 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008072/0.01945, allocations: 0.5642 MB / 1.019 GB, free: 9.816 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.01965, allocations: 183.3 kB / 1.019 GB, free: 9.637 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 3.422e-05/0.01968, allocations: 20 kB / 1.019 GB, free: 9.617 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003326/0.02001, allocations: 195.6 kB / 1.019 GB, free: 9.426 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 7.193e-05/0.02009, allocations: 75.73 kB / 1.019 GB, free: 9.352 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 8.603e-05/0.02017, allocations: 99.75 kB / 1.019 GB, free: 9.254 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0004523/0.02062, allocations: 430.6 kB / 1.02 GB, free: 8.832 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.02063, allocations: 0 / 1.02 GB, free: 8.832 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.443e-06/0.02063, allocations: 0 / 1.02 GB, free: 8.832 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.02064, allocations: 0 / 1.02 GB, free: 8.832 MB / 0.9792 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.0006002/0.02124, allocations: 0.5284 MB / 1.02 GB, free: 8.273 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.02128, allocations: 8.75 kB / 1.02 GB, free: 8.266 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.554e-05/0.02132, allocations: 54.73 kB / 1.02 GB, free: 8.203 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.682e-05/0.02138, allocations: 32.75 kB / 1.02 GB, free: 8.172 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003765/0.02176, allocations: 269.1 kB / 1.021 GB, free: 7.887 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.02177, allocations: 20.88 kB / 1.021 GB, free: 7.863 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.0218, allocations: 16.38 kB / 1.021 GB, free: 7.848 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003699/0.02217, allocations: 306.2 kB / 1.021 GB, free: 7.531 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.02218, allocations: 4.125 kB / 1.021 GB, free: 7.527 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.02219, allocations: 11.94 kB / 1.021 GB, free: 7.516 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.0222, allocations: 4 kB / 1.021 GB, free: 7.512 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.02247, allocations: 197.2 kB / 1.021 GB, free: 7.32 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007823/0.02325, allocations: 0.6888 MB / 1.022 GB, free: 6.582 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.02344, allocations: 137.1 kB / 1.022 GB, free: 6.43 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.02356, allocations: 85.64 kB / 1.022 GB, free: 6.34 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001327/0.02369, allocations: 47.95 kB / 1.022 GB, free: 6.293 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.02372, allocations: 38.5 kB / 1.022 GB, free: 6.246 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=12): time 2.615e-06/0.02372, allocations: 0 / 1.022 GB, free: 6.246 MB / 0.9792 GB Notification: Performance of matching and sorting (n=12): time 0.0004548/0.02417, allocations: 261.5 kB / 1.022 GB, free: 5.984 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.02421, allocations: 81.09 kB / 1.022 GB, free: 5.887 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.02439, allocations: 264.2 kB / 1.023 GB, free: 5.617 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002678/0.02466, allocations: 33.7 kB / 1.023 GB, free: 5.578 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 8.512e-05/0.02475, allocations: 164.3 kB / 1.023 GB, free: 5.41 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.02477, allocations: 39.7 kB / 1.023 GB, free: 5.371 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.02481, allocations: 37.7 kB / 1.023 GB, free: 5.328 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.887e-05/0.02489, allocations: 334.8 kB / 1.023 GB, free: 4.992 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.025, allocations: 63.88 kB / 1.023 GB, free: 4.93 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.02516, allocations: 272.2 kB / 1.024 GB, free: 4.605 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.02537, allocations: 172.1 kB / 1.024 GB, free: 4.422 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.02537, allocations: 320 / 1.024 GB, free: 4.422 MB / 0.9792 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000264/0.02564, allocations: 221.2 kB / 1.024 GB, free: 4.199 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.02565, allocations: 8.031 kB / 1.024 GB, free: 4.191 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.02566, allocations: 4 kB / 1.024 GB, free: 4.188 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.02567, allocations: 4 kB / 1.024 GB, free: 4.184 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.02582, allocations: 47.95 kB / 1.024 GB, free: 4.137 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.02583, allocations: 3.984 kB / 1.024 GB, free: 4.133 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.781e-05/0.02592, allocations: 27.88 kB / 1.024 GB, free: 4.105 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.02594, allocations: 8 kB / 1.024 GB, free: 4.098 MB / 0.9792 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.0001037/0.02605, allocations: 153.7 kB / 1.024 GB, free: 3.938 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.02608, allocations: 27.8 kB / 1.024 GB, free: 3.91 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.0263, allocations: 183.3 kB / 1.024 GB, free: 3.723 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.0263, allocations: 3.984 kB / 1.024 GB, free: 3.719 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.02631, allocations: 4 kB / 1.024 GB, free: 3.715 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.02631, allocations: 3.938 kB / 1.024 GB, free: 3.711 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005101/0.02682, allocations: 0.5591 MB / 1.025 GB, free: 3.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.02683, allocations: 0 / 1.025 GB, free: 3.09 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.02694, allocations: 52.06 kB / 1.025 GB, free: 3.039 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.02695, allocations: 4 kB / 1.025 GB, free: 3.035 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.02696, allocations: 8 kB / 1.025 GB, free: 3.027 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.02696, allocations: 3.938 kB / 1.025 GB, free: 3.023 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.02696, allocations: 4 kB / 1.025 GB, free: 3.02 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.02729, allocations: 443.3 kB / 1.025 GB, free: 2.559 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.02735, allocations: 47.77 kB / 1.026 GB, free: 2.512 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.02737, allocations: 4 kB / 1.026 GB, free: 2.508 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.02748, allocations: 16.08 kB / 1.026 GB, free: 2.492 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.02753, allocations: 27.78 kB / 1.026 GB, free: 2.465 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.02754, allocations: 8 kB / 1.026 GB, free: 2.457 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001147/0.02765, allocations: 191.1 kB / 1.026 GB, free: 2.273 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.02765, allocations: 0 / 1.026 GB, free: 2.273 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000314/0.02797, allocations: 91.75 kB / 1.026 GB, free: 2.184 MB / 0.9792 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.0007212/0.02869, allocations: 1.062 MB / 1.027 GB, free: 1.078 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003074/0.029, allocations: 171.8 kB / 1.027 GB, free: 0.9102 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.029, allocations: 0 / 1.027 GB, free: 0.9102 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.02914, allocations: 104.7 kB / 1.027 GB, free: 0.8086 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.02959, allocations: 113 kB / 1.027 GB, free: 0.7031 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.03215, allocations: 2.61 MB / 1.03 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.03226, allocations: 162.8 kB / 1.03 GB, free: 13.79 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001379/0.0324, allocations: 57.92 kB / 1.03 GB, free: 13.73 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.213e-05/0.03249, allocations: 84.47 kB / 1.03 GB, free: 13.65 MB / 0.9948 GB Notification: Performance of SimCode: time 1.263e-06/0.0325, allocations: 0 / 1.03 GB, free: 13.65 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01985/0.05234, allocations: 8.883 MB / 1.039 GB, free: 4.996 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.483/6.535, allocations: 0 / 1.039 GB, free: 4.996 MB / 0.9948 GB " [Timeout remaining time 293] (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/jenkins/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: 11.059049917384982]