Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.001239/0.001239, 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.001575/0.001575, 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.406/1.406, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.176/3.176, allocations: 0.505 GB / 0.8066 GB, free: 23.05 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.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.002054/0.002054, allocations: 74.75 kB / 1.172 GB, free: 17.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3517, allocations: 180.2 MB / 1.348 GB, free: 9.902 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.2033/0.5551, allocations: 174.3 MB / 1.518 GB, free: 10.96 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.005913/0.561, allocations: 3.408 MB / 1.521 GB, free: 7.547 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007223/0.5617, allocations: 31.75 kB / 1.521 GB, free: 7.516 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.5627, allocations: 326.1 kB / 1.522 GB, free: 7.195 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00264/0.5653, allocations: 1.054 MB / 1.523 GB, free: 6.137 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.5671, allocations: 0.663 MB / 1.523 GB, free: 5.477 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.00222/0.5694, allocations: 1.529 MB / 1.525 GB, free: 3.938 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007798/0.5701, allocations: 413.2 kB / 1.525 GB, free: 3.535 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001647/0.5718, allocations: 0.7435 MB / 1.526 GB, free: 2.789 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001281/0.5731, allocations: 0.4884 MB / 1.526 GB, free: 2.301 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.5732, allocations: 56 kB / 1.526 GB, free: 2.246 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/0.575, allocations: 0.869 MB / 1.527 GB, free: 1.375 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003543/0.5753, allocations: 251.2 kB / 1.528 GB, free: 1.129 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0005256/0.5759, allocations: 338.5 kB / 1.528 GB, free: 0.7969 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00208/0.578, allocations: 1.137 MB / 1.529 GB, free: 15.65 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.578, allocations: 0 / 1.529 GB, free: 15.65 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.243e-06/0.578, allocations: 0 / 1.529 GB, free: 15.65 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.849e-05/0.578, allocations: 0 / 1.529 GB, free: 15.65 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001849/0.5798, allocations: 0.9339 MB / 1.53 GB, free: 14.67 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.5799, allocations: 19.98 kB / 1.53 GB, free: 14.65 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001389/0.58, allocations: 82.47 kB / 1.53 GB, free: 14.56 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.5813, allocations: 179.4 kB / 1.53 GB, free: 14.39 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009202/0.5822, allocations: 0.5174 MB / 1.531 GB, free: 13.83 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/0.5823, allocations: 36.94 kB / 1.531 GB, free: 13.8 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.432e-05/0.5823, allocations: 44 kB / 1.531 GB, free: 13.75 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008816/0.5832, allocations: 470.4 kB / 1.531 GB, free: 13.29 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.5832, allocations: 0 / 1.531 GB, free: 13.29 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.893e-05/0.5833, allocations: 16 kB / 1.531 GB, free: 13.27 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.509e-05/0.5833, allocations: 24.92 kB / 1.531 GB, free: 13.25 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006959/0.584, allocations: 411.8 kB / 1.532 GB, free: 12.85 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002931/0.587, allocations: 1.819 MB / 1.533 GB, free: 10.88 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005309/0.5875, allocations: 281 kB / 1.534 GB, free: 10.59 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.5878, allocations: 178.2 kB / 1.534 GB, free: 10.42 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001925/0.588, allocations: 105 kB / 1.534 GB, free: 10.3 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.588, allocations: 38.56 kB / 1.534 GB, free: 10.25 MB / 1.232 GB Notification: Performance of pre-optimization done (n=31): time 1.433e-06/0.588, allocations: 0 / 1.534 GB, free: 10.25 MB / 1.232 GB Notification: Performance of matching and sorting (n=33): time 0.002176/0.5902, allocations: 1.064 MB / 1.535 GB, free: 9.133 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.5902, allocations: 55.41 kB / 1.535 GB, free: 9.066 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005689/0.5908, allocations: 457.9 kB / 1.536 GB, free: 8.609 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/0.5908, allocations: 33.7 kB / 1.536 GB, free: 8.57 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.591, allocations: 256.4 kB / 1.536 GB, free: 8.316 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.5912, allocations: 123 kB / 1.536 GB, free: 8.195 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.5913, allocations: 69.69 kB / 1.536 GB, free: 8.121 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.5915, allocations: 354.8 kB / 1.536 GB, free: 7.766 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.5917, allocations: 127.9 kB / 1.536 GB, free: 7.641 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/0.592, allocations: 197.9 kB / 1.537 GB, free: 7.426 MB / 1.232 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002066/0.5941, allocations: 0.856 MB / 1.537 GB, free: 6.531 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5941, allocations: 0 / 1.537 GB, free: 6.531 MB / 1.232 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007424/0.5948, allocations: 420.8 kB / 1.538 GB, free: 6.113 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.5948, allocations: 8 kB / 1.538 GB, free: 6.105 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.5948, allocations: 0 / 1.538 GB, free: 6.105 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.5948, allocations: 8.125 kB / 1.538 GB, free: 6.098 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003331/0.5952, allocations: 75.91 kB / 1.538 GB, free: 6.023 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.5952, allocations: 4 kB / 1.538 GB, free: 6.02 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004271/0.5956, allocations: 11.98 kB / 1.538 GB, free: 6.008 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.39e-05/0.5957, allocations: 16 kB / 1.538 GB, free: 5.992 MB / 1.232 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0003349/0.596, allocations: 208.5 kB / 1.538 GB, free: 5.781 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.5961, allocations: 55.67 kB / 1.538 GB, free: 5.727 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.5963, allocations: 60.75 kB / 1.538 GB, free: 5.664 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.5963, allocations: 4 kB / 1.538 GB, free: 5.66 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.5963, allocations: 4 kB / 1.538 GB, free: 5.656 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005392/0.5968, allocations: 412.5 kB / 1.539 GB, free: 5.223 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/0.5989, allocations: 1.237 MB / 1.54 GB, free: 3.879 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.5989, allocations: 8.5 kB / 1.54 GB, free: 3.871 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003709/0.5992, allocations: 79.84 kB / 1.54 GB, free: 3.793 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/0.5993, allocations: 8 kB / 1.54 GB, free: 3.785 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.5993, allocations: 8 kB / 1.54 GB, free: 3.777 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.5993, allocations: 8 kB / 1.54 GB, free: 3.77 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.5993, allocations: 4 kB / 1.54 GB, free: 3.766 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009727/0.6003, allocations: 0.7189 MB / 1.541 GB, free: 2.98 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002514/0.6005, allocations: 168.7 kB / 1.541 GB, free: 2.797 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.981e-05/0.6006, allocations: 8 kB / 1.541 GB, free: 2.789 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004228/0.601, allocations: 23.92 kB / 1.541 GB, free: 2.766 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.935e-05/0.6011, allocations: 35.91 kB / 1.541 GB, free: 2.73 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-05/0.6011, allocations: 23.98 kB / 1.541 GB, free: 2.707 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0004076/0.6015, allocations: 327.1 kB / 1.541 GB, free: 2.395 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.6015, allocations: 0 / 1.541 GB, free: 2.395 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0006409/0.6022, allocations: 144 kB / 1.541 GB, free: 2.254 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (33): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.001432/0.6036, allocations: 1.284 MB / 1.543 GB, free: 0.8945 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0006077/0.6042, allocations: 321.6 kB / 1.543 GB, free: 0.582 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.6042, allocations: 0 / 1.543 GB, free: 0.582 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.6045, allocations: 156.9 kB / 1.543 GB, free: 440 kB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/0.6062, allocations: 374.2 kB / 1.543 GB, free: 72 kB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006092/0.6123, allocations: 4.417 MB / 1.548 GB, free: 11.42 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/0.6129, allocations: 0.8862 MB / 1.549 GB, free: 10.51 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0004593/0.6133, allocations: 132.7 kB / 1.549 GB, free: 10.38 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003271/0.6137, allocations: 171.4 kB / 1.549 GB, free: 10.21 MB / 1.248 GB Notification: Performance of SimCode: time 7.32e-07/0.6137, allocations: 0 / 1.549 GB, free: 10.21 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04525/0.6589, allocations: 15.56 MB / 1.564 GB, free: 10.93 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.69/9.349, allocations: 6.125 kB / 1.564 GB, free: 10.92 MB / 1.264 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_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_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable vol.T in file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv. Warning: Get data of variable vol.T from file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.89282021811232]